Exception: Actor::DeadActorError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/girl_friday/actor.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (DeadActorError) initialize(actor, reason)

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

- (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