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

#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

#actorObject (readonly)

Returns the value of attribute actor.



35
36
37
# File 'lib/girl_friday/actor.rb', line 35

def actor
  @actor
end

#reasonObject (readonly)

Returns the value of attribute reason.



36
37
38
# File 'lib/girl_friday/actor.rb', line 36

def reason
  @reason
end