Class: Hash
Overview
:nodoc:
Direct Known Subclasses
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.
100 101 102 103 104 105 |
# File 'lib/awsbase/support.rb', line 100 def symbolize_keys inject({}) do |, (key, value)| [key.to_sym] = value end end |