Sunday, October 6, 2013

Ruby - if key has a hyphen in it...

http://stackoverflow.com/questions/2134702/ruby-1-9-hash-with-a-dash-in-a-key
you have to use the Ruby 1.8 syntax,:'my-symbol-name'

No comments:

Post a Comment

Followers

Blog Archive