Class: Event::Selector::Select::Queue
- Inherits:
-
Struct
- Object
- Struct
- Event::Selector::Select::Queue
- Defined in:
- lib/event/selector/select.rb
Instance Attribute Summary collapse
-
#fiber ⇒ Object
Returns the value of attribute fiber.
Instance Method Summary collapse
Instance Attribute Details
#fiber ⇒ Object
Returns the value of attribute fiber
39 40 41 |
# File 'lib/event/selector/select.rb', line 39 def fiber @fiber end |
Instance Method Details
#alive? ⇒ Boolean
44 45 46 |
# File 'lib/event/selector/select.rb', line 44 def alive? fiber&.alive? end |
#nullify ⇒ Object
48 49 50 |
# File 'lib/event/selector/select.rb', line 48 def nullify self.fiber = nil end |
#transfer(*arguments) ⇒ Object
40 41 42 |
# File 'lib/event/selector/select.rb', line 40 def transfer(*arguments) fiber&.transfer(*arguments) end |