Is there any difference between :key => \"value\"
(hashrocket) and key: \"value\"
(Ruby 1.9) notations?
If not, then I would like to use
key: "value"
is a convenience feature of Ruby 1.9; so long as you know your environment will support it, I see no reason not to use it. It's just much easier to type a colon than a rocket, and I think it looks much cleaner. As for there being a gem to do the conversion, probably not, but it seems like an ideal learning experience for you, if you don't already know file manipulation and regular expressions.