Exception: Actor::DeadActorError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Actor::DeadActorError
- Defined in:
- lib/girl_friday/actor.rb
Instance Attribute Summary (collapse)
-
- (Object) actor
readonly
Returns the value of attribute actor.
-
- (Object) reason
readonly
Returns the value of attribute reason.
Instance Method Summary (collapse)
-
- (DeadActorError) initialize(actor, reason)
constructor
A new instance of DeadActorError.
Constructor Details
- (DeadActorError) initialize(actor, reason)
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
- (Object) actor (readonly)
Returns the value of attribute actor
35 36 37 |
# File 'lib/girl_friday/actor.rb', line 35 def actor @actor end |
- (Object) reason (readonly)
Returns the value of attribute reason
36 37 38 |
# File 'lib/girl_friday/actor.rb', line 36 def reason @reason end |