Class: ROM::Mongo::Commands::Delete
- Inherits:
-
Commands::Delete
- Object
- Commands::Delete
- ROM::Mongo::Commands::Delete
- Defined in:
- lib/rom/mongo/commands.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
26 27 28 29 30 |
# File 'lib/rom/mongo/commands.rb', line 26 def execute removed = target.to_a target.remove_all removed end |