Sha256: fdc3acacd1f34860d17da588e2fec30459f4634b18fa809dae411f583deff050

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

require 'rom/commands/update'

module ROM
  module Files
    module Commands
      class Update < ROM::Commands::Update
        adapter :files

        def execute(attributes)
          relation.each { |tuple| source.update(tuple, attributes) }
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rom-files-0.2.0 lib/rom/files/commands/update.rb