module RuboCop::Cop::LineLengthHelp
def find_excessive_uri_range(line)
def find_excessive_uri_range(line) last_uri_match = match_uris(line).last return nil unless last_uri_match begin_position, end_position = last_uri_match.offset(0).map do |pos| pos + indentation_difference(line) end end_position = extend_uri_end_position(line, end_position) return nil if begin_position < max_line_length && end_position < max_line_length begin_position...end_position end