Class: GroongaQueryLog::Command::Extract::DumpFormatter
- Inherits:
-
Object
- Object
- GroongaQueryLog::Command::Extract::DumpFormatter
- Defined in:
- lib/groonga-query-log/command/extract.rb
Instance Method Summary collapse
- #command(statistic, command_text) ⇒ Object
- #finish ⇒ Object
-
#initialize(output) ⇒ DumpFormatter
constructor
A new instance of DumpFormatter.
- #start ⇒ Object
Constructor Details
#initialize(output) ⇒ DumpFormatter
Returns a new instance of DumpFormatter.
236 237 238 |
# File 'lib/groonga-query-log/command/extract.rb', line 236 def initialize(output) @output = output end |
Instance Method Details
#command(statistic, command_text) ⇒ Object
243 244 245 |
# File 'lib/groonga-query-log/command/extract.rb', line 243 def command(statistic, command_text) @output.puts(command_text) end |
#finish ⇒ Object
247 248 |
# File 'lib/groonga-query-log/command/extract.rb', line 247 def finish end |
#start ⇒ Object
240 241 |
# File 'lib/groonga-query-log/command/extract.rb', line 240 def start end |