Exception: PuppetLint::SyntaxError
- Inherits:
-
StandardError
- Object
- StandardError
- PuppetLint::SyntaxError
- Defined in:
- lib/puppet-lint.rb
Overview
Parser Syntax Errors
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(token) ⇒ SyntaxError
constructor
A new instance of SyntaxError.
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
#token ⇒ Object (readonly)
Returns the value of attribute token.
21 22 23 |
# File 'lib/puppet-lint.rb', line 21 def token @token end |