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.
96 97 98 99 100 101 |
# File 'lib/awsbase/support.rb', line 96 def symbolize_keys inject({}) do |, (key, value)| [key.to_sym] = value end end |