ruby-changes:25349
From: shugo <ko1@a...>
Date: Thu, 1 Nov 2012 16:50:11 +0900 (JST)
Subject: [ruby-changes:25349] shugo:r37401 (trunk): * NEWS: add note for Module#refine, Module#refinements,
shugo 2012-11-01 16:48:29 +0900 (Thu, 01 Nov 2012) New Revision: 37401 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37401 Log: * NEWS: add note for Module#refine, Module#refinements, Module#using, and Kernel#using. Modified files: trunk/ChangeLog trunk/NEWS Index: ChangeLog =================================================================== --- ChangeLog (revision 37400) +++ ChangeLog (revision 37401) @@ -1,3 +1,8 @@ +Thu Nov 1 16:44:36 2012 Shugo Maeda <shugo@r...> + + * NEWS: add note for Module#refine, Module#refinements, + Module#using, and Kernel#using. + Thu Nov 1 14:41:47 2012 Shugo Maeda <shugo@r...> * eval.c (rb_using_module): using should be used indirectly. Index: NEWS =================================================================== --- NEWS (revision 37400) +++ NEWS (revision 37401) @@ -39,6 +39,8 @@ * Kernel * added method: * added Kernel#Hash conversion method like Array() or Float(). + * added Kernel#using, which imports refinements into the current scope. + [experimental] * extended method: * Kernel#warn accepts multiple args in like puts. * Kernel#caller accepts second optional argument `n' which specify @@ -64,6 +66,12 @@ * added Module#prepend which is similar to Module#include, however a method in the prepended module overrides the corresponding method in the prepending module. + * added Module#refine, which extends a class or module locally. + [experimental] + * added Module#refinements, which returns refinements defined in the + receiver. [experimental] + * added Module#using, which imports refinements into the receiver. + [experimental] * extended method: * Module#define_method accepts a UnboundMethod from a Module. * Module#const_get accepts a qualified constant string, e.g. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/