class RuboCop::Cop::Style::CommentedKeyword

def on_new_investigation

def on_new_investigation
  processed_source.comments.each do |comment|
    next unless offensive?(comment) && (match = source_line(comment).match(REGEXP))
    register_offense(comment, match[:keyword])
  end
end