class RuboCop::Cop::Layout::LineContinuationLeadingSpace

def investigate_trailing_style(first_line, second_line, end_of_first_line)

def investigate_trailing_style(first_line, second_line, end_of_first_line)
  matches = second_line.match(TRAILING_STYLE_OFFENSE)
  return if matches.nil?
  offense_range = trailing_offense_range(end_of_first_line, matches)
  add_offense(offense_range) do |corrector|
    insert_pos = end_of_first_line - first_line[LINE_1_ENDING].length
    autocorrect(corrector, offense_range, insert_pos, matches[:leading_spaces])
  end
end