Exception: DoneProcessing
- Inherits:
-
Exception
- Object
- Exception
- DoneProcessing
- Defined in:
- lib/scout/work_queue/exceptions.rb
Instance Attribute Summary collapse
-
#pid ⇒ Object
Returns the value of attribute pid.
Instance Method Summary collapse
-
#initialize(pid = Process.pid) ⇒ DoneProcessing
constructor
A new instance of DoneProcessing.
- #message ⇒ Object
Constructor Details
#initialize(pid = Process.pid) ⇒ DoneProcessing
Returns a new instance of DoneProcessing.
3 4 5 |
# File 'lib/scout/work_queue/exceptions.rb', line 3 def initialize(pid = Process.pid) @pid = pid end |
Instance Attribute Details
#pid ⇒ Object
Returns the value of attribute pid.
2 3 4 |
# File 'lib/scout/work_queue/exceptions.rb', line 2 def pid @pid end |
Instance Method Details
#message ⇒ Object
7 8 9 |
# File 'lib/scout/work_queue/exceptions.rb', line 7 def "Done processing pid #{pid}" end |