Return to Snippet

Revision: 38739
at January 6, 2011 18:06 by gouthamvel


Initial Code
my_hash = my_hash.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}

Initial URL


Initial Description


Initial Title
hash string keys to symbols

Initial Tags


Initial Language
Ruby