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