StandardError
A SyntaxError is raised when the Parser comes across unclosed tags, sections, illegal content in tags, or anything of that sort.
# File lib/mustache/parser.rb, line 30 def initialize(message, position) @message = message @lineno, @column, @line, _ = position @stripped_line = @line.strip @stripped_column = @column - (@line.size - @line.lstrip.size) end
# File lib/mustache/parser.rb, line 37 def to_s #{@message} Line #{@lineno} #{@stripped_line} #{' ' * @stripped_column}^ end
[Validate]
Generated with the Darkfish Rdoc Generator 2.