Class: GDKBox::Shell::Result
- Inherits:
-
Struct
- Object
- Struct
- GDKBox::Shell::Result
- Defined in:
- lib/gdkbox/shell.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
25 26 27 |
# File 'lib/gdkbox/shell.rb', line 25 def status @status end |
#stderr ⇒ Object
Returns the value of attribute stderr
25 26 27 |
# File 'lib/gdkbox/shell.rb', line 25 def stderr @stderr end |
#stdout ⇒ Object
Returns the value of attribute stdout
25 26 27 |
# File 'lib/gdkbox/shell.rb', line 25 def stdout @stdout end |
Instance Method Details
#success? ⇒ Boolean
26 27 28 |
# File 'lib/gdkbox/shell.rb', line 26 def success? status.zero? end |