Sha256: b6e101241c10fed3e9d2385cc1317ecb752ae37d572c1e2741da197aea1c349b

Contents?: true

Size: 513 Bytes

Versions: 3

Compression:

Stored size: 513 Bytes

Contents

module EasyDiff
  module HashExt
    def easy_diff(other)
      EasyDiff::Core.easy_diff self, other
    end

    def easy_merge!(other)
      EasyDiff::Core.easy_merge! self, other
    end

    def easy_unmerge!(other)
      EasyDiff::Core.easy_unmerge! self, other
    end
  
    def easy_merge(other)
      self.easy_clone.easy_merge!(other)
    end
  
    def easy_unmerge(other)
      self.easy_clone.easy_unmerge!(other)
    end
    
    def easy_clone
      EasyDiff::Core.easy_clone self
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
easy_diff-0.0.3 lib/easy_diff/hash_ext.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/easy_diff-0.0.2/lib/easy_diff/hash_ext.rb
easy_diff-0.0.2 lib/easy_diff/hash_ext.rb