Exception: Zoidberg::DeadException
- Inherits:
-
StandardError
- Object
- StandardError
- Zoidberg::DeadException
- Defined in:
- lib/zoidberg/shell.rb
Overview
Customized exception type used when instance has been terminated
Instance Attribute Summary collapse
-
#origin_object_id ⇒ Object
readonly
Returns the value of attribute origin_object_id.
Instance Method Summary collapse
-
#initialize(message, origin_id = nil) ⇒ DeadException
constructor
A new instance of DeadException.
Constructor Details
#initialize(message, origin_id = nil) ⇒ DeadException
Returns a new instance of DeadException.
8 9 10 11 |
# File 'lib/zoidberg/shell.rb', line 8 def initialize(, origin_id=nil) super @origin_object_id = origin_id end |
Instance Attribute Details
#origin_object_id ⇒ Object (readonly)
Returns the value of attribute origin_object_id.
7 8 9 |
# File 'lib/zoidberg/shell.rb', line 7 def origin_object_id @origin_object_id end |