class Flor::ParseError
Attributes
Public Class Methods
Source
# File lib/flor/parser.rb, line 27 def initialize(error_array, fname) #puts "-" * 80; p error_array; puts error_array.last; puts "-" * 80 @line, @column, @offset, @msg, @visual = error_array @fname = fname m = "syntax error at line #{@line} column #{@column}" m += " in #{fname}" if fname super(m) end
Calls superclass method