[前][次][番号順一覧][スレッド一覧]

ruby-changes:26445

From: shugo <ko1@a...>
Date: Thu, 20 Dec 2012 17:29:53 +0900 (JST)
Subject: [ruby-changes:26445] shugo:r38496 (trunk): * NEWS: fix the description for Refinements.

shugo	2012-12-20 17:29:41 +0900 (Thu, 20 Dec 2012)

  New Revision: 38496

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

  Log:
    * NEWS: fix the description for Refinements.

  Modified files:
    trunk/ChangeLog
    trunk/NEWS

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38495)
+++ ChangeLog	(revision 38496)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Dec 20 17:29:00 2012  Shugo Maeda  <shugo@r...>
+
+	* NEWS: fix the description for Refinements.
+
 Thu Dec 20 16:53:59 2012  Shugo Maeda  <shugo@r...>
 
 	* vm_core.h (rb_vm_defineclass_type_t),
Index: NEWS
===================================================================
--- NEWS	(revision 38495)
+++ NEWS	(revision 38496)
@@ -70,8 +70,6 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L70
   * Kernel
     * added method:
       * added Kernel#Hash conversion method like Array() or Float().
-      * added Kernel#using, which imports refinements into the current scope.
-        [experimental]
       * added Kernel#__dir__ which returns a current dirname.
       * added Kernel#caller_locations which returns an array of
         frame information objects.
@@ -102,11 +100,7 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L100
         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]
+        require "refinement" is necessary to use it. [experimental]
     * extended method:
       * Module#define_method accepts a UnboundMethod from a Module.
       * Module#const_get accepts a qualified constant string, e.g.
@@ -184,6 +178,9 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L178
   * toplevel
     * added method:
       * added main.define_method which defines a global function.
+      * added main.using, which imports refinements into the current file or
+        eval string. require "refinement" is necessary to use it.
+        [experimental]
 
 * cgi
   * Add HTML5 tag maker.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]