Class: SqlReporter::Reporters::JsonReporter

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

Constant Summary collapse

EXTENSION =
'.json'

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

#bodyObject (readonly)

Returns the value of attribute body.



6
7
8
# File 'lib/sql_reporter/reporters/json_reporter.rb', line 6

def body
  @body
end

#linesObject (readonly)

Returns the value of attribute lines.



6
7
8
# File 'lib/sql_reporter/reporters/json_reporter.rb', line 6

def lines
  @lines
end

#titleObject (readonly)

Returns the value of attribute title.



6
7
8
# File 'lib/sql_reporter/reporters/json_reporter.rb', line 6

def title
  @title
end