Method: MasterDataTool::Report::ImportReport#print

Defined in:
lib/master_data_tool/report/import_report.rb


10
11
12
13
14
15
16
17
18
# File 'lib/master_data_tool/report/import_report.rb', line 10

def print(printer)
  reports.each do |_, report|
    if report.is_a?(Array)
      report.each { |r| printer.print(convert_to_ltsv(r)) }
    else
      printer.print(convert_to_ltsv(report))
    end
  end
end