class YARD::Handlers::Ruby::Legacy::PrivateClassMethodHandler

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