method
define_singleton_method
v1_9_1_378 -
Show latest stable
- Class:
Object
define_singleton_method(*args)public
No documentation available.
static VALUE
rb_obj_define_method(int argc, VALUE *argv, VALUE obj)
{
VALUE klass = rb_singleton_class(obj);
return rb_mod_define_method(argc, argv, klass);
}