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 | 4065c38a6af728c134035a1adc6add3a7a7e6ed1 (patch) | |
tree | 2e22d471f9435552adf4ae9bc6de4041bca3312a /internal.h | |
parent | 3bda73868f66e3cc24628a9dcce0568363ff2337 (diff) |
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); |