Class: Concurrent::Actor::ActorTerminated

Inherits:
Error
  • Object
show all
Includes:
TypeCheck
Defined in:
lib/concurrent/actor/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from TypeCheck

#Child!, #Child?, #Match!, #Match?, #Type!, #Type?

Constructor Details

#initialize(reference) ⇒ ActorTerminated

Returns a new instance of ActorTerminated.



10
11
12
13
# File 'lib/concurrent/actor/errors.rb', line 10

def initialize(reference)
  @reference = Type! reference, Reference
  super reference.path
end

Instance Attribute Details

#referenceObject (readonly)



8
9
10
# File 'lib/concurrent/actor/errors.rb', line 8

def reference
  @reference
end