Class: Concurrent::ErlangActor::Terminated
- Inherits:
-
Object
- Object
- Concurrent::ErlangActor::Terminated
- Defined in:
- lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb
Overview
A message send when actor terminates.
Instance Attribute Summary collapse
- #from ⇒ Pid readonly
- #reason ⇒ Object readonly
Instance Method Summary collapse
Instance Attribute Details
#from ⇒ Pid (readonly)
1407 1408 1409 |
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1407 def from @from end |
#reason ⇒ Object (readonly)
1409 1410 1411 |
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1409 def reason @reason end |
Instance Method Details
#==(o) ⇒ true, false Also known as: eql?
1424 1425 1426 |
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1424 def ==(o) o.class == self.class && o.from == @from && o.reason == self.reason end |
#hash ⇒ Integer
1431 1432 1433 |
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1431 def hash [@from, @reason].hash end |
#to_ary ⇒ ::Array(Pid, Object)
1419 1420 1421 |
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1419 def to_ary [@from, @reason] end |