Project

General

Profile

« Previous | Next » 

Revision 525f515f

Added by shugo (Shugo Maeda) almost 11 years ago

  • 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