Class: Veewee::Provider::Core::Helper::ShellResult
- Defined in:
- lib/veewee/provider/core/helper/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
-
#initialize(stdout, stderr, status) ⇒ ShellResult
constructor
A new instance of ShellResult.
Constructor Details
#initialize(stdout, stderr, status) ⇒ ShellResult
Returns a new instance of ShellResult.
11 12 13 14 15 |
# File 'lib/veewee/provider/core/helper/shell.rb', line 11 def initialize(stdout,stderr,status) @stdout=stdout @stderr=stderr @status=status end |
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
9 10 11 |
# File 'lib/veewee/provider/core/helper/shell.rb', line 9 def status @status end |
#stderr ⇒ Object
Returns the value of attribute stderr.
8 9 10 |
# File 'lib/veewee/provider/core/helper/shell.rb', line 8 def stderr @stderr end |
#stdout ⇒ Object
Returns the value of attribute stdout.
7 8 9 |
# File 'lib/veewee/provider/core/helper/shell.rb', line 7 def stdout @stdout end |