Closed koraktor closed 11 years ago
In Ruby 1.8 String#[] returns the character's code and must be converted with #chr first.
String#[]
#chr
Although Ruby 1.8 almost reached its end-of-life, I think the fix is too simple to not apply it.
Thanks! Can't forget about 1.8.
In Ruby 1.8
String#[]
returns the character's code and must be converted with#chr
first.Although Ruby 1.8 almost reached its end-of-life, I think the fix is too simple to not apply it.