Class: Concurrent::ErlangActor::Terminated
- Inherits:
-
Object
- Object
- Concurrent::ErlangActor::Terminated
- Defined in:
- lib-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)
1403 1404 1405 |
# File 'lib-edge/concurrent/edge/erlang_actor.rb', line 1403 def from @from end |
#reason ⇒ Object (readonly)
1405 1406 1407 |
# File 'lib-edge/concurrent/edge/erlang_actor.rb', line 1405 def reason @reason end |
Instance Method Details
#==(o) ⇒ true, false Also known as: eql?
1420 1421 1422 |
# File 'lib-edge/concurrent/edge/erlang_actor.rb', line 1420 def ==(o) o.class == self.class && o.from == @from && o.reason == self.reason end |
#hash ⇒ Integer
1427 1428 1429 |
# File 'lib-edge/concurrent/edge/erlang_actor.rb', line 1427 def hash [@from, @reason].hash end |
#to_ary ⇒ ::Array(Pid, Object)
1415 1416 1417 |
# File 'lib-edge/concurrent/edge/erlang_actor.rb', line 1415 def to_ary [@from, @reason] end |