Sha256: 756bdaed65b7c0a27f18ab521868ee00ad95ca745f5f5b8acc1d324c60143b78

Contents?: true

Size: 401 Bytes

Versions: 4

Compression:

Stored size: 401 Bytes

Contents

module RenuoBinCheck
  class Printer
    # :reek:UtilityFunction
    def print_standard_output(results)
      results.each { |result| $stdout.puts result.standard_output }
    end

    # :reek:UtilityFunction
    def print_error_output(result)
      error_output = result.error_output
      error_output = result.standard_output if error_output == ''
      $stderr.puts error_output
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
renuo-bin-check-1.0.0.beta2 lib/renuo_bin_check/printer.rb
renuo-bin-check-1.0.0.beta1 lib/renuo_bin_check/printer.rb
renuo-bin-check-0.2.1 lib/renuo_bin_check/printer.rb
renuo-bin-check-0.2.0 lib/renuo_bin_check/printer.rb