module ElasticRecord::Relation::Merging

Public Instance Methods

merge(other) click to toggle source
# File lib/elastic_record/relation/merging.rb, line 8
def merge(other)
  clone.merge!(other)
end
merge!(other) click to toggle source
# File lib/elastic_record/relation/merging.rb, line 4
def merge!(other)
  Merger.new(self, other).merge
end