Class: Tartarus::ArchiveStrategy::DeleteAll
- Inherits:
-
Object
- Object
- Tartarus::ArchiveStrategy::DeleteAll
- Defined in:
- lib/tartarus/archive_strategy/delete_all.rb
Instance Method Summary collapse
Instance Method Details
#call(collection) ⇒ Object
4 5 6 7 8 |
# File 'lib/tartarus/archive_strategy/delete_all.rb', line 4 def call(collection) Tartarus::ArchiveStrategy::ExtractBatch.new.call(collection) do |batch| batch.delete_all end end |