Class: Puppet::Util::Execution::ProcessOutput
- Defined in:
- lib/puppet/util/execution.rb
Overview
This is the full output from a process. The object itself (a String) is the stdout of the process.
Instance Attribute Summary collapse
-
#exitstatus ⇒ Integer
readonly
The exit status of the process.
Instance Method Summary collapse
-
#initialize(value, exitstatus) ⇒ ProcessOutput
constructor
private
A new instance of ProcessOutput.
Constructor Details
#initialize(value, exitstatus) ⇒ ProcessOutput
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of ProcessOutput.
30 31 32 33 |
# File 'lib/puppet/util/execution.rb', line 30 def initialize(value, exitstatus) super(value) @exitstatus = exitstatus end |
Instance Attribute Details
#exitstatus ⇒ Integer (readonly)
Returns The exit status of the process.
27 28 29 |
# File 'lib/puppet/util/execution.rb', line 27 def exitstatus @exitstatus end |