Class: Groonga::Client::Protocol::HTTP::Thread::Request

Inherits:
Object
  • Object
show all
Defined in:
lib/groonga/client/protocol/http/thread.rb

Instance Method Summary collapse

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

#waitObject



32
33
34
# File 'lib/groonga/client/protocol/http/thread.rb', line 32

def wait
  @thread.join
end