Sha256: 6dc8f5c8d3f14de75a22395b453f97ef4a816368b0848ddacb39cb2fe074d64e

Contents?: true

Size: 158 Bytes

Versions: 3

Compression:

Stored size: 158 Bytes

Contents

require 'localjob'

class PrintJob
  def perform
    puts "hello world"
  end
end

if ARGV[0] == "produce"
  queue = Localjob.new
  queue << PrintJob.new
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
localjob-0.4.1 test/integration.rb
localjob-0.4.0 test/integration.rb
localjob-0.3.0 test/integration.rb