What\'s the (fastest/cleanest/straightforward) way to convert all keys in a hash from strings to symbols in Ruby?
This would be handy when parsing YAML.
Even more terse:
Hash[my_hash.map{|(k,v)| [k.to_sym,v]}]