Class: RenuoBinCheck::Result
- Inherits:
-
Object
- Object
- RenuoBinCheck::Result
- Defined in:
- lib/renuo_bin_check/result.rb
Instance Attribute Summary collapse
-
#error_output ⇒ Object
readonly
Returns the value of attribute error_output.
-
#exit_code ⇒ Object
readonly
Returns the value of attribute exit_code.
-
#standard_output ⇒ Object
readonly
Returns the value of attribute standard_output.
Instance Method Summary collapse
-
#initialize(standard_output, error_output, exit_code) ⇒ Result
constructor
A new instance of Result.
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_output ⇒ Object (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_code ⇒ Object (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_output ⇒ Object (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 |