class RBX::SyntaxError
SyntaxError is a error with a pinpoint of where in the template the issue lies.
Public Class Methods
Source
# File rbxrb/lib/rbx/syntax_error.rb, line 8 def initialize(parser, message) @parser = parser super("#{@parser.filename}:#{line}:#{col} #{message}\n#{excerpt}") end
Create a new syntax error with the parser, to locate where the syntax error is located.
Calls superclass method