Sha256: 88c0816337ae0b2f73b5c07a8685b61198675e35973ee140f3bb6c418731a070

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

require 'rom/fmp/commands'
#require 'rom/fmp/commands/transaction'

module ROM
  module FMP
    module Commands
      class Delete < ROM::Commands::Delete
        # include Transaction

        def execute
          deleted = target.to_a
          target.delete
          deleted
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rom-fmp-0.0.4 lib/rom/fmp/commands/delete.rb