diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-24 01:49:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-24 01:49:52 +0000 |
commit | ab3611e2ccd279d70bf0a261b4fe01444fdd4bb6 (patch) | |
tree | 2e22d471f9435552adf4ae9bc6de4041bca3312a /internal.h | |
parent | 78debd262e0b704c2ba03923e6e46afe11883ea4 (diff) | |
download | ruby-ab3611e2ccd279d70bf0a261b4fe01444fdd4bb6.tar.gz |
class.c: rb_undef_methods_from
* class.c (rb_undef_methods_from): undefine methods defined in
super from klass.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index de435ac16b..116654ef91 100644 --- a/internal.h +++ b/internal.h @@ -931,6 +931,7 @@ VALUE rb_singleton_class_get(VALUE obj); void Init_class_hierarchy(void); int rb_class_has_methods(VALUE c); +void rb_undef_methods_from(VALUE klass, VALUE super); /* compar.c */ VALUE rb_invcmp(VALUE, VALUE); |