Class: Hash

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

Instance Method Summary collapse

Instance Method Details

#stringify_keys!Object



13
14
15
16
17
18
# File 'lib/nines.rb', line 13

def stringify_keys!
  keys.each do |key|
    self[key.to_s] = delete(key)
  end
  self
end