class ROM::FMP::Commands::Delete

Public Instance Methods

execute() click to toggle source

include Transaction

# File lib/rom/fmp/commands/delete.rb, line 10
def execute
  deleted = target.to_a
  target.delete
  deleted
end