Class: Async::Container::Threaded::Instance
- Inherits:
-
Object
- Object
- Async::Container::Threaded::Instance
- Defined in:
- lib/async/container/threaded.rb
Instance Method Summary collapse
-
#initialize(thread) ⇒ Instance
constructor
A new instance of Instance.
- #name=(value) ⇒ Object
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 |