Class: Hash

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

Instance Method Summary collapse

Instance Method Details

#reverse_merge!(other_hash) ⇒ Object



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

def reverse_merge!(other_hash)
  replace(other_hash.merge!(self))
end