README.rdoc in easy_diff-0.0.1 vs README.rdoc in easy_diff-0.0.2

- old
+ new

@@ -117,9 +117,29 @@ # :tags => ['b', 'c'], # :pos => {:y => '2'}, # :some_str => "bla" # } +=== Hash#easy_clone + +Performs a deep clone on a hash + + original = { + :tags => ['b', 'c', 'd'], + :pos => {:x => '3', :y => '2'} + } + + new = original.easy_clone + + new[:tags] << 'e' + new[:pos][:y] = '1' + + # The original hash will still look like this: + # original = { + # :tags => ['b', 'c', 'd'], + # :pos => {:x => '3', :y => '2'} + # } + == Contributing to easy_diff * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it * Fork the project