Class: Concurrent::Actor::ActorTerminated

Inherits:
Error
  • Object
show all
Includes:
TypeCheck
Defined in:
lib/concurrent-ruby-edge/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.



12
13
14
15
# File 'lib/concurrent-ruby-edge/concurrent/actor/errors.rb', line 12

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

Instance Attribute Details

#referenceObject (readonly)



10
11
12
# File 'lib/concurrent-ruby-edge/concurrent/actor/errors.rb', line 10

def reference
  @reference
end