class Bundler::LockfileParser::Position
def advance!(string)
def advance!(string) lines = string.count("\n") if lines > 0 @line += lines @column = string.length - string.rindex("\n") else @column += string.length end end
def initialize(line, column)
def initialize(line, column) @line = line @column = column end
def to_s
def to_s "#{line}:#{column}" end