Class: ReportBuilder::ProcessReport

Inherits:
Object
  • Object
show all
Defined in:
lib/report_builder/process_report.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#appObject (readonly)

Returns the value of attribute app



32
33
34
# File 'lib/report_builder/process_report.rb', line 32

def app
  @app
end

#arsObject (readonly)

Returns the value of attribute ars



32
33
34
# File 'lib/report_builder/process_report.rb', line 32

def ars
  @ars
end

#cd_hObject (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

#srObject (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