Sha256: 2a0e6529946300817cfd53ee535b2851369209c20ba9796f3c5fa8a29efd763c

Contents?: true

Size: 221 Bytes

Versions: 6

Compression:

Stored size: 221 Bytes

Contents

class CoolWorker < SimpleWorker::Base
  attr_accessor :array_of_models
  merge 'cool_model'


  def run
    10.times do |i|
      puts "HEY THERE PUTS #{i}"
      log "HEY THERE LOG #{i}"
      sleep 1
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_worker-0.5.8 test/cool_worker.rb
simple_worker-0.5.6 test/cool_worker.rb
simple_worker-0.5.5 test/cool_worker.rb
simple_worker-0.5.4 test/cool_worker.rb
simple_worker-0.5.2 test/cool_worker.rb
simple_worker-0.5.1 test/cool_worker.rb