Class: Async::Container::Threaded::Instance

Inherits:
Object
  • Object
show all
Defined in:
lib/async/container/threaded.rb

Instance Method Summary collapse

Constructor Details

#initialize(thread) ⇒ Instance

Returns a new instance of Instance.



31
32
33
# File 'lib/async/container/threaded.rb', line 31

def initialize(thread)
  @thread = thread
end

Instance Method Details

#name=(value) ⇒ Object



35
36
37
# File 'lib/async/container/threaded.rb', line 35

def name= value
  @thread.name = value
end