Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/pay2go/core_ext/hash.rb

Instance Method Summary collapse

Instance Method Details

#stringify_keysObject



2
3
4
5
6
7
8
# File 'lib/pay2go/core_ext/hash.rb', line 2

def stringify_keys
  result = self.class.new
  each_key do |key|
    result[key.to_s] = self[key]
  end
  result
end