Class: Yapo::Helpers::CustomErrors::ErrorResult
- Inherits:
-
Object
- Object
- Yapo::Helpers::CustomErrors::ErrorResult
- Defined in:
- lib/yapo/helpers/custom_errors.rb
Instance Attribute Summary collapse
-
#err ⇒ Object
readonly
Returns the value of attribute err.
-
#exit_status ⇒ Object
readonly
Returns the value of attribute exit_status.
-
#out ⇒ Object
readonly
Returns the value of attribute out.
Instance Method Summary collapse
-
#initialize(exit_status, out, err) ⇒ ErrorResult
constructor
A new instance of ErrorResult.
Constructor Details
#initialize(exit_status, out, err) ⇒ ErrorResult
Returns a new instance of ErrorResult.
88 89 90 91 92 |
# File 'lib/yapo/helpers/custom_errors.rb', line 88 def initialize(exit_status, out, err) @exit_status = exit_status @out = out @err = err end |
Instance Attribute Details
#err ⇒ Object (readonly)
Returns the value of attribute err.
86 87 88 |
# File 'lib/yapo/helpers/custom_errors.rb', line 86 def err @err end |
#exit_status ⇒ Object (readonly)
Returns the value of attribute exit_status.
86 87 88 |
# File 'lib/yapo/helpers/custom_errors.rb', line 86 def exit_status @exit_status end |
#out ⇒ Object (readonly)
Returns the value of attribute out.
86 87 88 |
# File 'lib/yapo/helpers/custom_errors.rb', line 86 def out @out end |