Class: GQTP::Backend::Coolio::Request
- Inherits:
-
Object
- Object
- GQTP::Backend::Coolio::Request
- Defined in:
- lib/gqtp/backend/coolio.rb
Instance Method Summary collapse
-
#initialize(loop) ⇒ Request
constructor
A new instance of Request.
- #wait ⇒ Object
Constructor Details
#initialize(loop) ⇒ Request
Returns a new instance of Request.
25 26 27 |
# File 'lib/gqtp/backend/coolio.rb', line 25 def initialize(loop) @loop = loop end |
Instance Method Details
#wait ⇒ Object
29 30 31 |
# File 'lib/gqtp/backend/coolio.rb', line 29 def wait @loop.run end |