class Mail::IndifferentHash

def update(other_hash)


hash_1.update(hash_2) # => {"key"=>"New Value!"}

hash_2[:key] = "New Value!"
hash_2 = HashWithIndifferentAccess.new

hash_1[:key] = "value"
hash_1 = HashWithIndifferentAccess.new

Updates the instantized hash with values from the second:
def update(other_hash)
  other_hash.each_pair { |key, value| regular_writer(convert_key(key), convert_value(value)) }
  self
end