Method: HashWithIndifferentAccess#update

Defined in:
lib/cerberus/utils.rb

#update(other_hash) ⇒ Object Also known as: merge!



113
114
115
116
# File 'lib/cerberus/utils.rb', line 113

def update(other_hash)
  other_hash.each_pair { |key, value| regular_writer(convert_key(key), convert_value(value)) }
  self
end