diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-03 06:26:48 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-03 06:26:48 +0000 |
commit | 525f515f9ac593f11ad52a301d7594bcc52a3062 (patch) | |
tree | ac39ccbbef8477e3bdaf973af5df0441187be7c6 /enum.c | |
parent | 338bd4cc651964e3901a4ddaa52667ddb47a55cf (diff) | |
download | ruby-525f515f9ac593f11ad52a301d7594bcc52a3062.tar.gz |
* vm_method.c (remove_method): When remove refined
method, raise a NameError if the method is not
defined in refined class.
But if the method is defined in refined class,
it should keep refined method and remove original
method.
Patch by Seiei Higa. [ruby-core:67722] [Bug #10765]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
0 files changed, 0 insertions, 0 deletions