Class: Hash

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

Direct Known Subclasses

BjnInventory::ByKey, BjnInventory::Context

Instance Method Summary collapse

Instance Method Details

#stringify_keysObject



2
3
4
# File 'lib/bjn_inventory/hash.rb', line 2

def stringify_keys
    Hash[self.map { |k, v| [k.to_s, v] }]
end