Sha256: 39ba8c6179f1d5cf7d89ee526004226d9fe8cfcf7dbe326fb5fe6d803bdf70bd

Contents?: true

Size: 290 Bytes

Versions: 4

Compression:

Stored size: 290 Bytes

Contents

# frozen_string_literal: true

module MasterDataTool
  module Report
    class DefaultPrinter
      include Printer

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

        spec_config.logger.info message
        puts message
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
master_data_tool-0.22.0 lib/master_data_tool/report/default_printer.rb
master_data_tool-0.21.1 lib/master_data_tool/report/default_printer.rb
master_data_tool-0.21.0 lib/master_data_tool/report/default_printer.rb
master_data_tool-0.20.0 lib/master_data_tool/report/default_printer.rb