Method: Module#public_constant
- Defined in:
- variable.c
#public_constant(symbol, ...) ⇒ Object
Makes a list of existing constants public.
3908 3909 3910 3911 3912 3913 |
# File 'variable.c', line 3908 VALUE rb_mod_public_constant(int argc, const VALUE *argv, VALUE obj) { set_const_visibility(obj, argc, argv, CONST_PUBLIC, CONST_VISIBILITY_MASK); return obj; } |