[ruby-cvs:51324] nobu:r44179 (trunk): proc.c: fix inherited owner

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Dec 14 00:18:13 JST 2013


nobu	2013-12-14 00:18:12 +0900 (Sat, 14 Dec 2013)

  New Revision: 44179

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44179

  Log:
    proc.c: fix inherited owner
    
    * proc.c (mnew_from_me): achieve the original defined_class from
      prepended iclass, to fix inherited owner.
    * proc.c (method_owner): return the defined class, but not the
      class which the method object is created from.

  Modified files:
    trunk/ChangeLog
    trunk/proc.c
    trunk/test/ruby/test_method.rb


More information about the ruby-cvs mailing list