Method: Mash#update
- Defined in:
- lib/racker/smash/mash.rb
#update(other_hash) ⇒ Mash Also known as: merge!
Returns The updated mash.
113 114 115 116 |
# File 'lib/racker/smash/mash.rb', line 113 def update(other_hash) other_hash.each_pair { |key, value| regular_writer(convert_key(key), convert_value(value)) } self end |