remove_method(*args)
private
Removes the method identified by symbol from the current class.
For an example, see Module.undef_method.
Show source
static VALUE
rb_mod_remove_method(int argc, VALUE *argv, VALUE mod)
{
int i;
for (i = 0; i < argc; i++) {
remove_method(mod, rb_to_id(argv[i]));
}
return mod;
}