123456789_123456789_123456789_123456789_123456789_

Class: Concurrent::ErlangActor::Token

Relationships & Source Files
Inherits: Object
Defined in: lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb

Class Method Summary

Instance Method Summary

Constructor Details

.new(name) ⇒ Token

[ GitHub ]

  
# 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.

[ GitHub ]

  
# 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