Class: MasterDataTool::Report::DefaultPrinter

Inherits:
Object
  • Object
show all
Includes:
Printer
Defined in:
lib/master_data_tool/report/default_printer.rb

Instance Attribute Summary

Attributes included from Printer

#silent, #spec_config

Instance Method Summary collapse

Methods included from Printer

#initialize

Instance Method Details



8
9
10
11
12
13
14
# File 'lib/master_data_tool/report/default_printer.rb', line 8

def print(message:)
  return if silent
  return if message.blank?

  spec_config.logger.info message
  puts message
end