Sha256: db6809bf2d626c6ee38fee931579015ca5f864157dbb493009ae456dee81e640

Contents?: true

Size: 146 Bytes

Versions: 3

Compression:

Stored size: 146 Bytes

Contents

class BarWorker < ModernTimes::HornetQ::Worker
  def perform(obj)
    puts "#{self}: Received #{obj.inspect} at #{Time.now}"
    sleep 5
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
modern_times-0.1.2 examples/simple/bar_worker.rb
modern_times-0.1.1 examples/simple/bar_worker.rb
modern_times-0.1.0 examples/simple/bar_worker.rb