Sha256: b72c51db826cbf06a4132307b67929f521b1d0d46cecce1b5657c3610a409ff1

Contents?: true

Size: 268 Bytes

Versions: 4

Compression:

Stored size: 268 Bytes

Contents

# frozen_string_literal: true

module MasterDataTool
  module Report
    class DefaultPrinter
      include Printer

      def print(message)
        return if @silent

        MasterDataTool.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.18.0 lib/master_data_tool/report/default_printer.rb
master_data_tool-0.17.0 lib/master_data_tool/report/default_printer.rb
master_data_tool-0.16.0 lib/master_data_tool/report/default_printer.rb
master_data_tool-0.15.0 lib/master_data_tool/report/default_printer.rb