Class: Hash

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

Instance Method Summary collapse

Instance Method Details

#stringify_keys!Object



7
8
9
10
11
12
# File 'lib/translations_sync.rb', line 7

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