Module: ElasticRecord::Relation::Merging
- Included in:
- ElasticRecord::Relation
- Defined in:
- lib/elastic_record/relation/merging.rb
Defined Under Namespace
Classes: Merger
Instance Method Summary collapse
Instance Method Details
#merge(other) ⇒ Object
8 9 10 |
# File 'lib/elastic_record/relation/merging.rb', line 8 def merge(other) clone.merge!(other) end |
#merge!(other) ⇒ Object
4 5 6 |
# File 'lib/elastic_record/relation/merging.rb', line 4 def merge!(other) Merger.new(self, other).merge end |