Class: SqlReporter::Reporters::JsonReporter
- Defined in:
- lib/sql_reporter/reporters/json_reporter.rb
Constant Summary collapse
- EXTENSION =
'.json'
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#lines ⇒ Object
readonly
Returns the value of attribute lines.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
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
#body ⇒ Object (readonly)
Returns the value of attribute body.
6 7 8 |
# File 'lib/sql_reporter/reporters/json_reporter.rb', line 6 def body @body end |
#lines ⇒ Object (readonly)
Returns the value of attribute lines.
6 7 8 |
# File 'lib/sql_reporter/reporters/json_reporter.rb', line 6 def lines @lines end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
6 7 8 |
# File 'lib/sql_reporter/reporters/json_reporter.rb', line 6 def title @title end |