Class: Groonga::Client::CommandLine::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/groonga/client/command-line/runner.rb

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Runner

Returns a new instance of Runner.



21
22
23
# File 'lib/groonga/client/command-line/runner.rb', line 21

def initialize(client)
  @client = client
end

Instance Method Details

#run(&block) ⇒ Object



25
26
27
28
29
30
# File 'lib/groonga/client/command-line/runner.rb', line 25

def run(&block)
  catch do |tag|
    @abort_tag = tag
    run_internal(&block)
  end
end