APIdock / Ruby
/
Browse About
method

public_class_method

ruby latest stable - Class: Module
public_class_method(*args)
public

Makes a list of existing class methods public.

String arguments are converted to symbols.

static VALUE
rb_mod_public_method(int argc, VALUE *argv, VALUE obj)
{
    set_method_visibility(rb_singleton_class(obj), argc, argv, METHOD_VISI_PUBLIC);
    return obj;
}

Related methods

  • Instance methods
  • <
  • <=
  • <=>
  • ==
  • ===
  • >
  • >=
  • alias_method
  • ancestors
  • attr
  • attr_accessor
  • attr_reader
  • attr_writer
  • autoload
  • autoload?
  • class_eval
  • class_exec
  • class_variable_defined?
  • class_variable_get
  • class_variable_set
  • class_variables
  • const_defined?
  • const_get
  • const_missing
  • const_set
  • constants
  • define_method
  • deprecate_constant
  • freeze
  • include
  • include?
  • included_modules
  • initialize_clone
  • initialize_copy
  • inspect
  • instance_method
  • instance_methods
  • method_defined?
  • module_eval
  • module_exec
  • name
  • prepend
  • private_class_method
  • private_constant
  • private_instance_methods
  • private_method_defined?
  • protected_instance_methods
  • protected_method_defined?
  • public_class_method
  • public_constant
  • public_instance_method
  • public_instance_methods
  • public_method_defined?
  • remove_class_variable
  • remove_method
  • singleton_class?
  • to_s
  • undef_method
  • Class methods
  • constants
  • nesting
  • new
  • used_modules
  • Private methods
  • privateappend_features
  • privateextend_object
  • privateextended
  • privateincluded
  • privatemethod_added
  • privatemethod_removed
  • privatemethod_undefined
  • privatemodule_function
  • privateprepend_features
  • privateprepended
  • privateprivate
  • privateprotected
  • privatepublic
  • privaterefine
  • privateremove_const
  • privateusing
APIdock API Documentation Browser

© 2026 APIdock