class Stacker::Stack::TemplateSyntaxError
Attributes
path[R]
Public Class Methods
new(path)
click to toggle source
# File lib/stacker/stack/errors.rb, line 14 def initialize(path) @path = path end
Public Instance Methods
message()
click to toggle source
# File lib/stacker/stack/errors.rb, line 18 def message <<END_MSG Syntax error(s) in template. #{path}: #{errors} END_MSG end
Private Instance Methods
errors()
click to toggle source
# File lib/stacker/stack/errors.rb, line 30 def errors @errors ||= begin linter = JsonLint::Linter.new linter.check path linter.errors.values.join "\n" end end