Class: Hash

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

Instance Method Summary collapse

Instance Method Details

#stringify_keysObject



4
5
6
7
8
# File 'lib/noise/utils/hash.rb', line 4

def stringify_keys
  keys.each_with_object({}) do |key, h|
    h[key.to_s] = self[key]
  end
end