Skip to Content Skip to Search

Raised when a lockfile cannot be parsed

Methods
N

Attributes

[R] column

The column where the error was encountered

[R] line

The line where the error was encountered

[R] path

The location of the lock file

Class Public methods

new(message, column, line, path)

Raises a ParseError with the given message which was encountered at a line and column while parsing.

# File ruby/lib/rubygems/request_set/lockfile.rb, line 32
def initialize(message, column, line, path)
  @line   = line
  @column = column
  @path   = path
  super "#{message} (at line #{line} column #{column})"
end