my fixes and features for ruby's standard rinda library