Method: Hash#recursively_normalize_keys
- Defined in:
- lib/croesus/core_ext/hash.rb
#recursively_normalize_keys ⇒ Hash
Returns a new Hash, recursively downcasing and converting all keys to symbols.
77 78 79 |
# File 'lib/croesus/core_ext/hash.rb', line 77 def recursively_normalize_keys recursively_transform_keys { |key| key.downcase.to_sym rescue key } end |