Exception: Actor::DeadActorError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Actor::DeadActorError
- Defined in:
- lib/girl_friday/actor.rb
Instance Attribute Summary collapse
-
#actor ⇒ Object
readonly
Returns the value of attribute actor.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(actor, reason) ⇒ DeadActorError
constructor
A new instance of DeadActorError.
Constructor Details
#initialize(actor, reason) ⇒ DeadActorError
Returns a new instance of DeadActorError.
37 38 39 40 41 |
# File 'lib/girl_friday/actor.rb', line 37 def initialize(actor, reason) super(reason) @actor = actor @reason = reason end |
Instance Attribute Details
#actor ⇒ Object (readonly)
Returns the value of attribute actor.
35 36 37 |
# File 'lib/girl_friday/actor.rb', line 35 def actor @actor end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
36 37 38 |
# File 'lib/girl_friday/actor.rb', line 36 def reason @reason end |