Class: Packer::Output::Base
- Inherits:
-
Object
- Object
- Packer::Output::Base
- Defined in:
- lib/packer/output/base.rb
Overview
Base class for output from all Packer commands
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(output) ⇒ Base
constructor
A new instance of Base.
-
#stderr ⇒ String
Returns the raw standard error output.
-
#stdout ⇒ String
Returns the raw standard output.
Constructor Details
#initialize(output) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/packer/output/base.rb', line 6 def initialize(output) @output = output end |
Instance Method Details
#stderr ⇒ String
Returns the raw standard error output
13 14 15 |
# File 'lib/packer/output/base.rb', line 13 def stderr @output.stderr end |
#stdout ⇒ String
Returns the raw standard output
20 21 22 |
# File 'lib/packer/output/base.rb', line 20 def stdout @output.stdout end |