Don't like 1.9's Symbol-in-Hash syntax? Love it? Use hash_syntax
Ruby 1.9 adds a new syntax for a Symbol as a literal hash key. I love it; some hate it. If you’re running Ruby 1.9, you can use my new hash_syntax gem to freely convert your code between the two syntaxes!
Post a comment