class Concurrent::ErlangActor::Terminated

A message send when actor terminates.

Attributes

from[R]

@return [Pid]

reason[R]

@return [Object]

Public Class Methods

new(from, reason) click to toggle source

@!visibility private

# File lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb, line 1412
def initialize(from, reason)
  # noinspection RubySuperCallWithoutSuperclassInspection
  @from   = from
  @reason = reason
end

Public Instance Methods

==(o) click to toggle source

@return [true, false]

# 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
Also aliased as: eql?
eql?(o)
Alias for: ==
hash() click to toggle source

@return [Integer]

# File lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb, line 1431
def hash
  [@from, @reason].hash
end
to_ary() click to toggle source

@return [::Array(Pid, Object)]

# File lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb, line 1419
def to_ary
  [@from, @reason]
end