Method: RR::BaseRunner#report_printer

Defined in:
lib/rubyrep/base_runner.rb

#report_printerObject

Returns the active ScanReportPrinters instance (as selected through the command line options OR if none was selected, the default one).



28
29
30
31
32
33
34
# File 'lib/rubyrep/base_runner.rb', line 28

def report_printer
  unless @report_printer
    printer_class = report_printer_class || ScanReportPrinters::ScanSummaryReporter
    @report_printer ||= printer_class.new(session, report_printer_arg)
  end
  @report_printer
end