Sha256: 9e04736fdf8b87756352e9336d93db60fe08406f62c3c43c2537fd62d7714afd
Contents?: true
Size: 235 Bytes
Versions: 2
Compression:
Stored size: 235 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simple_worker-0.4.1 | test/cool_worker.rb |
simple_worker-0.4.0 | test/cool_worker.rb |