class Packer::Output::Base

Base class for output from all Packer commands

Public Class Methods

new(output) click to toggle source

@param [Mixlib::ShellOut] output from the build command

# File lib/packer/output/base.rb, line 6
def initialize(output)
  @output = output
end

Public Instance Methods

stderr() click to toggle source

Returns the raw standard error output

@return [String]

# File lib/packer/output/base.rb, line 13
def stderr
  @output.stderr
end
stdout() click to toggle source

Returns the raw standard output

@return [String]

# File lib/packer/output/base.rb, line 20
def stdout
  @output.stdout
end