Class: AgentsControl::Executor::Result
- Inherits:
-
Struct
- Object
- Struct
- AgentsControl::Executor::Result
- Defined in:
- lib/agents_control/executor.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
Returns the value of attribute status.
-
#stderr ⇒ Object
Returns the value of attribute stderr.
-
#stdout ⇒ Object
Returns the value of attribute stdout.
Instance Method Summary collapse
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status
20 21 22 |
# File 'lib/agents_control/executor.rb', line 20 def status @status end |
#stderr ⇒ Object
Returns the value of attribute stderr
20 21 22 |
# File 'lib/agents_control/executor.rb', line 20 def stderr @stderr end |
#stdout ⇒ Object
Returns the value of attribute stdout
20 21 22 |
# File 'lib/agents_control/executor.rb', line 20 def stdout @stdout end |
Instance Method Details
#not_found? ⇒ Boolean
23 |
# File 'lib/agents_control/executor.rb', line 23 def not_found? = status == NOT_FOUND_STATUS |
#success? ⇒ Boolean
21 |
# File 'lib/agents_control/executor.rb', line 21 def success? = status.zero? |
#timeout? ⇒ Boolean
22 |
# File 'lib/agents_control/executor.rb', line 22 def timeout? = status == TIMEOUT_STATUS |