Class: Zui::CommandResult
- Inherits:
-
Struct
- Object
- Struct
- Zui::CommandResult
- Defined in:
- lib/zui/command.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
10 11 12 |
# File 'lib/zui/command.rb', line 10 def status @status end |
#stderr ⇒ Object
Returns the value of attribute stderr
10 11 12 |
# File 'lib/zui/command.rb', line 10 def stderr @stderr end |
#stdout ⇒ Object
Returns the value of attribute stdout
10 11 12 |
# File 'lib/zui/command.rb', line 10 def stdout @stdout end |
Instance Method Details
#exitstatus ⇒ Object
12 |
# File 'lib/zui/command.rb', line 12 def exitstatus = status.exitstatus |
#success? ⇒ Boolean
11 |
# File 'lib/zui/command.rb', line 11 def success? = status.success? |