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