Class: Packer::Output::Validate

Inherits:
Base
  • Object
show all
Defined in:
lib/packer/output/validate.rb

Overview

Represents the output from packer validate.

Instance Method Summary collapse

Methods inherited from Base

#initialize, #stderr, #stdout

Constructor Details

This class inherits a constructor from Packer::Output::Base

Instance Method Details

#valid?Boolean

Returns true if the template is valid.

Returns:

  • (Boolean)


10
11
12
# File 'lib/packer/output/validate.rb', line 10

def valid?
  @output.exitstatus.zero?
end