Class: RenuoBinCheck::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(standard_output, error_output, exit_code) ⇒ Result

Returns a new instance of Result.



4
5
6
7
8
# File 'lib/renuo_bin_check/result.rb', line 4

def initialize(standard_output, error_output, exit_code)
  @standard_output = standard_output
  @error_output = error_output
  @exit_code = exit_code
end

Instance Attribute Details

#error_outputObject (readonly)

Returns the value of attribute error_output.



3
4
5
# File 'lib/renuo_bin_check/result.rb', line 3

def error_output
  @error_output
end

#exit_codeObject (readonly)

Returns the value of attribute exit_code.



3
4
5
# File 'lib/renuo_bin_check/result.rb', line 3

def exit_code
  @exit_code
end

#standard_outputObject (readonly)

Returns the value of attribute standard_output.



3
4
5
# File 'lib/renuo_bin_check/result.rb', line 3

def standard_output
  @standard_output
end