Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/couch_docs/design_directory.rb

Instance Method Summary collapse

Instance Method Details

#deep_merge(other) ⇒ Object



2
3
4
5
6
# File 'lib/couch_docs/design_directory.rb', line 2

def deep_merge(other)
  self.merge(other) do |key, oldval, newval|
    oldval.deep_merge(newval)
  end
end