Class: Droonga::Client::Connection::DroongaProtocol::Thread::Request
- Inherits:
-
Object
- Object
- Droonga::Client::Connection::DroongaProtocol::Thread::Request
- Defined in:
- lib/droonga/client/connection/droonga-protocol/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.
40 41 42 |
# File 'lib/droonga/client/connection/droonga-protocol/thread.rb', line 40 def initialize(thread) @thread = thread end |
Instance Method Details
#wait ⇒ Object
44 45 46 |
# File 'lib/droonga/client/connection/droonga-protocol/thread.rb', line 44 def wait @thread.join end |