Class: Net::SSH::Connection::Session
- Inherits:
-
Object
- Object
- Net::SSH::Connection::Session
- Defined in:
- lib/pmux/mros.rb
Instance Attribute Summary collapse
-
#coolio_loop ⇒ Object
Returns the value of attribute coolio_loop.
Instance Method Summary collapse
Instance Attribute Details
#coolio_loop ⇒ Object
Returns the value of attribute coolio_loop.
94 95 96 |
# File 'lib/pmux/mros.rb', line 94 def coolio_loop @coolio_loop end |
Instance Method Details
#floop(wait = nil) ⇒ Object
96 97 98 99 100 101 102 103 104 |
# File 'lib/pmux/mros.rb', line 96 def floop wait=nil while true break if closed? #break unless busy? loop wait @coolio_loop.waitings[Fiber.current] = self Fiber.yield end end |