class IDL::ParseError

Attributes

positions[R]

Public Class Methods

new(msg, positions) click to toggle source
Calls superclass method
# File lib/ridl/scanner.rb, line 18
def initialize(msg, positions)
  super(msg)
  @positions = positions
end

Public Instance Methods

inspect() click to toggle source
# File lib/ridl/scanner.rb, line 23
def inspect
  puts "#{self.class.name}: #{message}"
  @positions.each { |pos|
    print '    '
    puts pos
  }
  nil
end