Created
March 13, 2015 21:26
-
-
Save jgyllen/a3b6c7af3508a0f61dd1 to your computer and use it in GitHub Desktop.
Convert Ruby 1.8 to 1.9 Hash Syntax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -pi -e 's/:([\w\d_]+)(\s*)=>/\1:/g' **/*.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment