class Hash

Public Instance Methods

stringify_keys!() click to toggle source
# File lib/ebay_trading/ebay_trading.rb, line 2
def stringify_keys!
  keys.each do |key|
    unless key.class.to_s == "String" # weird hack to make the tests run when string_ext_test.rb is also running
      self[key.to_s] = self[key]
      delete(key)
    end
  end
  self
end