protected(*args)
private
With no arguments, sets the default visibility for subsequently defined
methods to protected. With arguments,
sets the named methods to have protected visibility. String arguments are converted to symbols.
Show source
static VALUE
rb_mod_protected(int argc, VALUE *argv, VALUE module)
{
return set_visibility(argc, argv, module, NOEX_PROTECTED);
}