Class: Hash
Overview
:nodoc:
Instance Method Summary collapse
-
#symbolize_keys ⇒ Object
Return a new hash with all keys converted to symbols.
Instance Method Details
#symbolize_keys ⇒ Object
Return a new hash with all keys converted to symbols.
75 76 77 78 79 80 |
# File 'lib/awsum/support.rb', line 75 def symbolize_keys inject({}) do |, (key, value)| [key.to_sym] = value end end |