Sha256: 13017aa1ef72eea0f36b8a677eb4304d76a121f613354aaf518aab087b0a2796

Contents?: true

Size: 209 Bytes

Versions: 5

Compression:

Stored size: 209 Bytes

Contents

module Massive
  class FileJob < Job
    delegate :file, to: :step

    def each_item(&block)
      file.processor.process_range(offset: offset + processed, limit: limit - processed, &block)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
massive-0.4.0 lib/massive/file_job.rb
massive-0.3.0 lib/massive/file_job.rb
massive-0.2.0 lib/massive/file_job.rb
massive-0.1.1 lib/massive/file_job.rb
massive-0.1.0 lib/massive/file_job.rb