*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c649dcc857
commit
30399f6c75
1
eval.c
1
eval.c
@ -1820,6 +1820,7 @@ rb_undef(klass, id)
|
||||
rb_name_error(id, "undefined method `%s' for%s `%s'",
|
||||
rb_id2name(id),s0,rb_class2name(c));
|
||||
}
|
||||
if (klass != origin) rb_clear_cache_for_undef(origin, id);
|
||||
rb_add_method(klass, id, 0, NOEX_PUBLIC);
|
||||
if (FL_TEST(klass, FL_SINGLETON)) {
|
||||
rb_funcall(rb_iv_get(klass, "__attached__"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user