Class: ReportBuilder::ProcessReport
- Inherits:
-
Object
- Object
- ReportBuilder::ProcessReport
- Defined in:
- lib/report_builder/process_report.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Returns the value of attribute app.
-
#ars ⇒ Object
readonly
Returns the value of attribute ars.
-
#cd_h ⇒ Object
readonly
Returns the value of attribute cd_h.
-
#sr ⇒ Object
readonly
Returns the value of attribute sr.
Instance Method Summary collapse
-
#initialize(sr, app) ⇒ ProcessReport
constructor
A new instance of ProcessReport.
- #output(format) ⇒ Object
Constructor Details
#initialize(sr, app) ⇒ ProcessReport
Returns a new instance of ProcessReport
33 34 35 36 37 |
# File 'lib/report_builder/process_report.rb', line 33 def initialize(sr,app) @sr=sr @app=app @ars=AnalysisSystematicReview.new(sr) end |
Instance Attribute Details
#app ⇒ Object (readonly)
Returns the value of attribute app
32 33 34 |
# File 'lib/report_builder/process_report.rb', line 32 def app @app end |
#ars ⇒ Object (readonly)
Returns the value of attribute ars
32 33 34 |
# File 'lib/report_builder/process_report.rb', line 32 def ars @ars end |
#cd_h ⇒ Object (readonly)
Returns the value of attribute cd_h
32 33 34 |
# File 'lib/report_builder/process_report.rb', line 32 def cd_h @cd_h end |
#sr ⇒ Object (readonly)
Returns the value of attribute sr
32 33 34 |
# File 'lib/report_builder/process_report.rb', line 32 def sr @sr end |
Instance Method Details
#output(format) ⇒ Object
39 40 41 |
# File 'lib/report_builder/process_report.rb', line 39 def output(format) send("output_#{format}".to_sym) end |