Created
February 18, 2015 15:40
-
-
Save sesharim/4d22fcac3977a917d796 to your computer and use it in GitHub Desktop.
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
my_hash.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment