Method: Module#private_constant

Defined in:
variable.c

#private_constant(symbol, ...) ⇒ Object

Makes a list of existing constants private.



3814
3815
3816
3817
3818
3819
# File 'variable.c', line 3814

VALUE
rb_mod_private_constant(int argc, const VALUE *argv, VALUE obj)
{
    set_const_visibility(obj, argc, argv, CONST_PRIVATE, CONST_VISIBILITY_MASK);
    return obj;
}