Class: GroongaClientCLI::GroongaClient::Runner
- Inherits:
-
Object
- Object
- GroongaClientCLI::GroongaClient::Runner
- Defined in:
- lib/groonga-client-cli/groonga-client.rb
Instance Method Summary collapse
- #<<(line) ⇒ Object
-
#initialize(client, options = {}) ⇒ Runner
constructor
A new instance of Runner.
Constructor Details
#initialize(client, options = {}) ⇒ Runner
Returns a new instance of Runner.
131 132 133 134 135 136 |
# File 'lib/groonga-client-cli/groonga-client.rb', line 131 def initialize(client, ={}) @client = client @split_load_chunk_size = [:split_load_chunk_size] || 10000 @load_values = [] @parser = create_command_parser end |
Instance Method Details
#<<(line) ⇒ Object
138 139 140 |
# File 'lib/groonga-client-cli/groonga-client.rb', line 138 def <<(line) @parser << line end |