class YARD::Handlers::Ruby::Legacy::PrivateClassMethodHandler
(see Ruby::PrivateClassMethodHandler)
frozen_string_literal: true
def privatize_class_method(name)
def privatize_class_method(name) method = Proxy.new(namespace, name) ensure_loaded!(method) method.visibility = :private rescue YARD::Handlers::NamespaceMissingError raise UndocumentableError, "private visibility set on unrecognized method: #{name}" end