Class: RenuoBinCheck::Printer

Inherits:
Object
  • Object
show all
Defined in:
lib/renuo_bin_check/printer.rb

Instance Method Summary collapse

Instance Method Details

:reek:UtilityFunction



9
10
11
12
13
# File 'lib/renuo_bin_check/printer.rb', line 9

def print_error_output(result)
  error_output = result.error_output
  error_output = result.standard_output if error_output == ''
  $stderr.puts error_output
end

:reek:UtilityFunction



4
5
6
# File 'lib/renuo_bin_check/printer.rb', line 4

def print_standard_output(results)
  results.each { |result| $stdout.puts result.standard_output }
end