Skip to content

mrb_undef_class_method

cremno edited this page Sep 11, 2013 · 2 revisions

mrb_undef_class_method

Declaration Definition
mruby.h class.c
void mrb_undef_class_method(mrb_state *mrb, struct RClass *klass, const char *name);

Undefines a class or singleton method. A NameError is raised if the singleton class of klass does not respond to name.

Parameters

  • mrb: mruby VM state
  • klass: class of the class method
  • name: name of the class method

Return value

None.

See also

Clone this wiki locally