[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-cvs
Subject:    [ruby-cvs:44215] shugo:r37040 (trunk): * eval.c (rb_overlay_module, rb_mod_refine): accept a module
From:       shugo () ruby-lang ! org
Date:       2012-09-27 9:53:25
Message-ID: 20120927095325.B0C8B3EE3E () fluorine ! ruby-lang ! org
[Download RAW message or body]

shugo	2012-09-27 18:53:24 +0900 (Thu, 27 Sep 2012)

  New Revision: 37040

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

  Log:
    * eval.c (rb_overlay_module, rb_mod_refine): accept a module as the
      argument of Module#refine.
    
    * vm_method.c (search_method): if klass is an iclass, lookup the
      original module of the iclass in omod in order to allow
      refinements of modules.
    
    * test/ruby/test_refinement.rb: add tests for the above changes.

  Modified files:
    trunk/ChangeLog
    trunk/eval.c
    trunk/test/ruby/test_refinement.rb
    trunk/vm_method.c

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic