Class: Indocker::Shell::ShellResult
- Inherits:
-
Object
- Object
- Indocker::Shell::ShellResult
- Defined in:
- lib/indocker/shell.rb
Instance Attribute Summary collapse
-
#exit_status ⇒ Object
readonly
Returns the value of attribute exit_status.
-
#stdout ⇒ Object
readonly
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize(stdout, exit_status) ⇒ ShellResult
constructor
A new instance of ShellResult.
Constructor Details
#initialize(stdout, exit_status) ⇒ ShellResult
Returns a new instance of ShellResult.
5 6 7 8 |
# File 'lib/indocker/shell.rb', line 5 def initialize(stdout, exit_status) @stdout = stdout @exit_status = exit_status end |
Instance Attribute Details
#exit_status ⇒ Object (readonly)
Returns the value of attribute exit_status.
3 4 5 |
# File 'lib/indocker/shell.rb', line 3 def exit_status @exit_status end |
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout.
3 4 5 |
# File 'lib/indocker/shell.rb', line 3 def stdout @stdout end |