Module: Concurrent::ErlangActor::HasReason
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
self,
HasFrom
|
|
Defined in: | lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb |
Instance Attribute Summary
Instance Method Summary
- #==(o) ⇒ true, false
- #hash ⇒ Integer
- #to_ary ⇒ ::Array(Pid, Object)
- #initialize(from, reason) private
HasFrom
- Included
#==, | |
#eql? | Alias for HasFrom#==. |
#hash, #initialize |
Instance Attribute Details
#reason ⇒ Object (readonly)
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1301
attr_reader :reason
Instance Method Details
#==(o) ⇒ true
, false
#hash ⇒ Integer
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1322
def hash [@from, @reason].hash end
#initialize(from, reason) (private)
[ GitHub ]
#to_ary ⇒ ::Array
(Pid, Object)
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1311
def to_ary [@from, @reason] end