Sha256: bffce4fefbdc0c63ee1df025ffcd2bafa8a783d8f9c232229117f98215635682

Contents?: true

Size: 233 Bytes

Versions: 3

Compression:

Stored size: 233 Bytes

Contents

require 'merger/merge'

module Merger
  def self.included(base)
    base.send :include, InstanceMethods
  end
  
  module InstanceMethods
    def merge!(*others)
      Merger::Merge.new(others, :keep => self).merge!
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
merger-0.1.2 lib/merger.rb
merger-0.1.1 lib/merger.rb
merger-0.1.0 lib/merger.rb