Exception: RbbtProcessQueue::RbbtProcessQueueWorker::Respawn
- Inherits:
-
Exception
- Object
- Exception
- RbbtProcessQueue::RbbtProcessQueueWorker::Respawn
- Defined in:
- lib/rbbt/util/concurrency/processes/worker.rb
Instance Attribute Summary collapse
-
#payload ⇒ Object
Returns the value of attribute payload.
Instance Method Summary collapse
-
#initialize(payload = nil) ⇒ Respawn
constructor
A new instance of Respawn.
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
#payload ⇒ Object
Returns the value of attribute payload.
7 8 9 |
# File 'lib/rbbt/util/concurrency/processes/worker.rb', line 7 def payload @payload end |