class RuboCop::Cop::InternalAffairs::CopDescription

def on_class(node)

def on_class(node)
  return unless (module_node = node.parent) && node.parent_class
  description_beginning = first_comment_line(module_node)
  return unless description_beginning
  if description_beginning.match?(EMPTY_COMMENT_LINE_REGEX)
    register_offense_for_empty_comment_line(module_node, description_beginning)
  else
    start_with_subject = description_beginning.match(COP_DESC_OFFENSE_REGEX)
    return unless start_with_subject
    register_offense_for_wrong_word(module_node, description_beginning, start_with_subject)
  end
end