class ActiveLdap::LdifInvalid
def detect_nearest(line, column)
def detect_nearest(line, column) lines = @ldif.lines nearest = lines[line - 1] || "" if column - 1 == nearest.size # for JRuby 1.0.2 :< nearest << NEAREST_MARK else nearest[column - 1, 0] = NEAREST_MARK end if nearest == NEAREST_MARK nearest = "#{lines[line - 2]}#{nearest}" end nearest end