class Apricot::CompileError

Attributes

filename[R]
line[R]
msg[R]

Public Class Methods

new(filename, line, msg) click to toggle source
# File lib/apricot/errors.rb, line 24
def initialize(filename, line, msg)
  @filename = filename
  @line = line
  @msg = msg
end

Public Instance Methods

to_s() click to toggle source
# File lib/apricot/errors.rb, line 30
def to_s
  "#{@filename}:#{@line}: #{@msg}"
end