Exception: PuppetLint::SyntaxError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/puppet-lint.rb

Overview

Parser Syntax Errors

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(token) ⇒ SyntaxError

Returns a new instance of SyntaxError.



24
25
26
27
# File 'lib/puppet-lint.rb', line 24

def initialize(token)
  @token = token
  super
end

Instance Attribute Details

#tokenObject (readonly)

Returns the value of attribute token.



22
23
24
# File 'lib/puppet-lint.rb', line 22

def token
  @token
end