Class: SqlReporter::Reporters::LogReporter

Inherits:
Reporter
  • Object
show all
Defined in:
lib/sql_reporter/reporters/log_reporter.rb

Direct Known Subclasses

ExcelReporter, PdfTableReporter

Constant Summary collapse

EXTENSION =
'.log'
HEADERS =
['Query', 'Count difference', 'Cached SQLs difference', 'Duration difference [ms]']

Instance Attribute Summary collapse

Attributes inherited from Reporter

#disable_console, #feature, #fname0, #fname1, #io, #master, #master_max_count, #output

Method Summary

Methods inherited from Reporter

#generate_report, #initialize, #output_file

Constructor Details

This class inherits a constructor from SqlReporter::Reporters::Reporter

Instance Attribute Details

#linesObject (readonly)

Returns the value of attribute lines.



11
12
13
# File 'lib/sql_reporter/reporters/log_reporter.rb', line 11

def lines
  @lines
end