Class: Groonga::Client::Protocol::HTTP::Thread::Request
- Inherits:
-
Object
- Object
- Groonga::Client::Protocol::HTTP::Thread::Request
- Defined in:
- lib/groonga/client/protocol/http/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.
28 29 30 |
# File 'lib/groonga/client/protocol/http/thread.rb', line 28 def initialize(thread) @thread = thread end |
Instance Method Details
#wait ⇒ Object
32 33 34 |
# File 'lib/groonga/client/protocol/http/thread.rb', line 32 def wait @thread.join end |