class Hashie::Mash
def deep_update(other_hash)
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