class CompilerError

Public Class Methods

new(position) click to toggle source
# File lib/compiler_error.rb, line 3
def initialize position
        @position = position
end

Public Instance Methods

to_s() click to toggle source
# File lib/compiler_error.rb, line 7
def to_s
        "#{@position}: #{info}"
end