Sha256: 60561a5a8a5ab905b231bc25a2020930a884a3748e1cf90e2a087782034d28bb

Contents?: true

Size: 301 Bytes

Versions: 2

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true

module MasterDataTool
  module Report
    class DefaultPrinter
      include Printer

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

        MasterDataTool.config.logger.info message
        puts message
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
master_data_tool-0.19.1 lib/master_data_tool/report/default_printer.rb
master_data_tool-0.19.0 lib/master_data_tool/report/default_printer.rb