instance method · added in Ruby 3.2
Module#undefined_instance_methods
() -> ::Array[::Symbol]
mod.undefined_instance_methods → array
object.c
View on GitHub ↗
VALUE
rb_class_undefined_instance_methods(VALUE mod)
{
VALUE include_super = Qfalse;
return class_instance_method_list(1, &include_super, mod, 0, ins_methods_undef_i);
}
Returns a list of the undefined instance methods defined in mod. The undefined methods of any ancestors are not included.
Ruby version changes
-
3.2
-
Module#undefined_instance_methodshas been added. [Feature #12655]
-