Class: Concurrent::ErlangActor::Token
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb |
Class Method Summary
- .new(name) ⇒ Token constructor
Instance Method Summary
Constructor Details
.new(name) ⇒ Token
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 554
def initialize(name) @name = name end
Instance Method Details
#inspect
Alias for #to_s.
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 562
alias_method :inspect, :to_s
#to_s Also known as: #inspect
[ GitHub ]# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 558
def to_s @name end