Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/address_standardization/ruby_ext.rb

Instance Method Summary collapse

Instance Method Details

#stringify_keysObject



20
21
22
# File 'lib/address_standardization/ruby_ext.rb', line 20

def stringify_keys
  self.inject({}) {|h,(k,v)| h[k.to_s] = v; h }
end