Method: Mash#merge
- Defined in:
- lib/extlib/mash.rb
#merge(hash) ⇒ Mash
Returns A new mash with the hash values merged in.
91 92 93 |
# File 'lib/extlib/mash.rb', line 91 def merge(hash) self.dup.update(hash) end |
Returns A new mash with the hash values merged in.
91 92 93 |
# File 'lib/extlib/mash.rb', line 91 def merge(hash) self.dup.update(hash) end |