wiki:DeepMerge

DeepMerge

A simple Ruby language lib for extending Hash to recursively merge with other hashes - also merges child elements that are also mergeable. Download and see docs for more details.

Installing DeepMerge

Gem

svn export svn://svn.misuse.org/science/deep_merge/trunk/pkg/deep_merge-0.1.0.gem [/a/local/temp/folder]
cd [/a/local/temp/folder]
gem install deep_merge

Get the Code from SVN for your own use

  • From a command prompt:
    svn export svn://svn.misuse.org/science/deep_merge/trunk
    

Using DeepMerge

Read up in the  README file after you install it!

Comments and questions can be posted here:  http://www.misuse.org/science/2008/05/19/deep_merge-ruby-recursive-merging-for-hashes/