Class: Verto::SystemCommandExecutor::Result
- Inherits:
-
Struct
- Object
- Struct
- Verto::SystemCommandExecutor::Result
- Defined in:
- lib/verto/utils/system_command_executor.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#output ⇒ Object
Returns the value of attribute output.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
9 10 11 |
# File 'lib/verto/utils/system_command_executor.rb', line 9 def error @error end |
#output ⇒ Object
Returns the value of attribute output
9 10 11 |
# File 'lib/verto/utils/system_command_executor.rb', line 9 def output @output end |
#result ⇒ Object
Returns the value of attribute result
9 10 11 |
# File 'lib/verto/utils/system_command_executor.rb', line 9 def result @result end |
Instance Method Details
#error? ⇒ Boolean
14 15 16 |
# File 'lib/verto/utils/system_command_executor.rb', line 14 def error? !success? end |
#success? ⇒ Boolean
10 11 12 |
# File 'lib/verto/utils/system_command_executor.rb', line 10 def success? result.success? end |