Sha256: 789e79cc74920dbb9836c108761425632a0d63559713d00828e7faafe1820271
Contents?: true
Size: 384 Bytes
Versions: 1
Compression:
Stored size: 384 Bytes
Contents
require 'sidekiq' # Start up sidekiq via # ./bin/sidekiq -r ./examples/por.rb # and then you can open up an IRB session like so: # irb -r ./examples/por.rb # where you can then say # PlainOldRuby.perform_async "like a dog", 3 # class PlainOldRuby include Sidekiq::Worker def perform(how_hard="super hard", how_long=1) sleep how_long puts "Workin' #{how_hard}" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-0.6.0 | examples/por.rb |