Class: Hash
Overview
:nodoc:
Instance Method Summary collapse
-
#right_symbolize_keys ⇒ Object
Return a new hash with all keys converted to symbols.
Instance Method Details
#right_symbolize_keys ⇒ Object
Return a new hash with all keys converted to symbols.
91 92 93 94 95 96 |
# File 'lib/support.rb', line 91 def right_symbolize_keys inject({}) do |, (key, value)| [key.to_sym] = value end end |