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.



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

def initialize(token)
  @token = token
  super
end

Instance Attribute Details

#tokenObject (readonly)

Returns the value of attribute token.



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

def token
  @token
end