Class: SqlReporter::Reporters::ExcelReporter

Inherits:
LogReporter show all
Defined in:
lib/sql_reporter/reporters/excel_reporter.rb

Constant Summary collapse

EXTENSION =
'.xls'
HEADERS =
['Query', 'Count [master]', 'Count [feature]', 'Total time [master]', 'Total time [feature]']

Instance Attribute Summary collapse

Attributes inherited from LogReporter

#lines

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

#totalsObject (readonly)

Returns the value of attribute totals.



10
11
12
# File 'lib/sql_reporter/reporters/excel_reporter.rb', line 10

def totals
  @totals
end