diff options
author | Jeremy Evans <[email protected]> | 2022-06-06 09:57:32 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-06-06 09:57:32 -0700 |
commit | 7cda7fbbdc14f4262afaa94cdeb5a5987f1eb01a (patch) | |
tree | 6f7da1ed9ce694564c932f9dcc15fd6b04b86c0b /object.c | |
parent | b737998d25f1379117fbf11a578462e6ba12037e (diff) |
Add Module#undefined_instance_methods
Implements [Feature #12655]
Co-authored-by: Nobuyoshi Nakada <[email protected]>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5733
Merged-By: jeremyevans <[email protected]>
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4398,6 +4398,8 @@ InitVM_Object(void) rb_class_protected_instance_methods, -1); /* in class.c */ rb_define_method(rb_cModule, "private_instance_methods", rb_class_private_instance_methods, -1); /* in class.c */ + rb_define_method(rb_cModule, "undefined_instance_methods", + rb_class_undefined_instance_methods, 0); /* in class.c */ rb_define_method(rb_cModule, "constants", rb_mod_constants, -1); /* in variable.c */ rb_define_method(rb_cModule, "const_get", rb_mod_const_get, -1); |