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.
238 239 240 |
# File 'lib/groonga-query-log/command/extract.rb', line 238 def initialize(output) @output = output end |
Instance Method Details
#command(statistic, command_text) ⇒ Object
245 246 247 |
# File 'lib/groonga-query-log/command/extract.rb', line 245 def command(statistic, command_text) @output.puts(command_text) end |
#finish ⇒ Object
249 250 |
# File 'lib/groonga-query-log/command/extract.rb', line 249 def finish end |
#start ⇒ Object
242 243 |
# File 'lib/groonga-query-log/command/extract.rb', line 242 def start end |