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.



20
21
22
# File 'lib/puppet-lint.rb', line 20

def initialize(token)
  @token = token
end

Instance Attribute Details

#tokenObject (readonly)

Returns the value of attribute token.



18
19
20
# File 'lib/puppet-lint.rb', line 18

def token
  @token
end