Class: ROM::Memory::Commands::Delete
- Inherits:
-
Commands::Delete
- Object
- Command
- Commands::Delete
- ROM::Memory::Commands::Delete
- Defined in:
- core/lib/rom/memory/commands.rb
Overview
In-memory delete command
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
49 50 51 52 53 54 |
# File 'core/lib/rom/memory/commands.rb', line 49 def execute relation.to_a.map do |tuple| source.delete(tuple) tuple end end |