Class: Concurrent::ErlangActor::NoActor
Relationships & Source Files | |
Inherits: |
Concurrent::Error
|
Defined in: | lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb |
Overview
An error used when actor tries to link or monitor terminated actor.
Class Method Summary
- .new(pid = nil) ⇒ self constructor
Instance Attribute Summary
- #pid ⇒ Pid readonly
Instance Method Summary
- #==(o) ⇒ true, false (also: #eql?)
-
#eql?(o)
Alias for #==.
- #hash ⇒ Integer
Constructor Details
.new(pid = nil) ⇒ self
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1511
def initialize(pid = nil) super(pid.to_s) @pid = pid end
Instance Attribute Details
#pid ⇒ Pid (readonly)
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1507
attr_reader :pid
Instance Method Details
#==(o) ⇒ true
, false
Also known as: #eql?
#eql?(o)
Alias for #==.
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1521
alias_method :eql?, :==
#hash ⇒ Integer
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1524
def hash pid.hash end