class RuboCop::CommentConfig

def opt_in_cops

def opt_in_cops
  @opt_in_cops ||= begin
    cops = Set.new
    each_directive do |directive|
      next unless directive.enabled?
      next if directive.all_cops?
      cops.merge(directive.cop_names)
    end
    cops
  end
end