Class: Packer::Output::Validate
- Defined in:
- lib/packer/output/validate.rb
Overview
Represents the output from packer validate.
Instance Method Summary collapse
-
#valid? ⇒ Boolean
Returns
true
if the template is valid.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Packer::Output::Base
Instance Method Details
#valid? ⇒ Boolean
Returns true
if the template is valid.
10 11 12 |
# File 'lib/packer/output/validate.rb', line 10 def valid? @output.exitstatus.zero? end |