jm / toml

Parse TOML. Like a bawss.
MIT License
151 stars 37 forks source link

Fix Transformer.parse for Ruby 1.8 #12

Closed koraktor closed 11 years ago

koraktor commented 11 years ago

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.

dirk commented 11 years ago

Thanks! Can't forget about 1.8.