Exception: RbbtProcessQueue::RbbtProcessQueueWorker::Respawn

Inherits:
Exception
  • Object
show all
Defined in:
lib/rbbt/util/concurrency/processes/worker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(payload = nil) ⇒ Respawn

Returns a new instance of Respawn.



8
9
10
# File 'lib/rbbt/util/concurrency/processes/worker.rb', line 8

def initialize(payload = nil)
  @payload = payload
end

Instance Attribute Details

#payloadObject

Returns the value of attribute payload.



7
8
9
# File 'lib/rbbt/util/concurrency/processes/worker.rb', line 7

def payload
  @payload
end