APIdock / Ruby
/
Browse About
method

public_class_method

v1_8_7_330 - Show latest stable - Class: Module
public_class_method(...)
public

Makes a list of existing class methods public.

/*
 *  call-seq:
 *     mod.public_class_method(symbol, ...)    => mod
 *  
 *  Makes a list of existing class methods public.
 */

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

Related methods

  • Instance methods
  • <
  • <=
  • <=>
  • ==
  • ===
  • >
  • >=
  • alias_method
  • ancestors
  • append_features
  • 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
  • extend_object
  • extended
  • freeze
  • include
  • include?
  • included
  • included_modules
  • initialize_copy
  • instance_method
  • instance_methods
  • method_added
  • method_defined?
  • method_removed
  • method_undefined
  • module_eval
  • module_exec
  • module_function
  • name
  • private
  • private_class_method
  • private_instance_methods
  • private_method_defined?
  • protected
  • protected_instance_methods
  • protected_method_defined?
  • public
  • public_class_method
  • public_instance_methods
  • public_method_defined?
  • remove_class_variable
  • remove_const
  • remove_method
  • to_s
  • undef_method
  • Class methods
  • constants
  • nesting
  • new
APIdock API Documentation Browser

Implement the SPACE framework the right way with Swarmia.

© 2026 APIdock