class Hashie::Mash

def deep_update(other_hash)

in hash, merging each hash in the hierarchy.
Recursively merges this mash with the passed
def deep_update(other_hash)
  other_hash.each_pair do |k,v|
    key = convert_key(k)
    if regular_reader(key).is_a?(Mash) and v.is_a?(::Hash)
      regular_reader(key).deep_update(v)
    else
      regular_writer(key, convert_value(v, true))
    end
  end
  self
end