This project is archived and is in readonly mode.
Ruby 1.9 compat: add String#bytesize
-
Manfred Stienstra
Looks like a good idea. Can you add a unit test to the patch?
-
Akira Matsuda
Sorry about that. Attatched a new patch file including test cases.
-
Akira Matsuda
I rethinked and changed my mind.
This bytesize method may induce some needless surprize, because String#bytesize should not be == String#size in many other cases.
Please reject and forget about this patch (I'm sorry it seems that I can't cancel the ticket by myself...)
