Module: DeltaCore::Strategies::Replace
- Defined in:
- lib/delta_core/strategies/replace.rb
Class Method Summary collapse
Class Method Details
.call(snapshot_collection, current_collection, _mapping) ⇒ Object
6 7 8 9 10 |
# File 'lib/delta_core/strategies/replace.rb', line 6 def self.call(snapshot_collection, current_collection, _mapping) return { added: [], removed: [], modified: [] } if snapshot_collection == current_collection { added: current_collection, removed: snapshot_collection, modified: [] } end |