Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/delphix/utils.rb

Instance Method Summary collapse

Instance Method Details

#recursively_normalize_keysHash

Returns a new Hash, recursively downcasing and converting all keys to symbols.

Returns:



48
49
50
# File 'lib/delphix/utils.rb', line 48

def recursively_normalize_keys
  recursively_transform_keys { |key| key.downcase.to_sym rescue key }
end