Method: Module#private_constant

Defined in:
variable.c

#private_constant(symbol, ...) ⇒ Object

Makes a list of existing constants private.



3894
3895
3896
3897
3898
3899
# File 'variable.c', line 3894

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;
}