Class: Mccloud::Provider::Core::ShellResult
- Inherits:
-
Object
- Object
- Mccloud::Provider::Core::ShellResult
- Defined in:
- lib/mccloud/provider/core/vm.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.
21 22 23 24 25 |
# File 'lib/mccloud/provider/core/vm.rb', line 21 def initialize(stdout,stderr,status) @stdout=stdout @stderr=stderr @status=status end |
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
19 20 21 |
# File 'lib/mccloud/provider/core/vm.rb', line 19 def status @status end |
#stderr ⇒ Object
Returns the value of attribute stderr.
18 19 20 |
# File 'lib/mccloud/provider/core/vm.rb', line 18 def stderr @stderr end |
#stdout ⇒ Object
Returns the value of attribute stdout.
17 18 19 |
# File 'lib/mccloud/provider/core/vm.rb', line 17 def stdout @stdout end |