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

ruby-changes:24262

From: nobu <ko1@a...>
Date: Thu, 5 Jul 2012 10:53:38 +0900 (JST)
Subject: [ruby-changes:24262] nobu:r36313 (trunk): NEWS

nobu	2012-07-05 10:53:30 +0900 (Thu, 05 Jul 2012)

  New Revision: 36313

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

  Log:
    NEWS
    
    * NEWS: about __callee__ and Module#prepend.

  Modified files:
    trunk/NEWS

Index: NEWS
===================================================================
--- NEWS	(revision 36312)
+++ NEWS	(revision 36313)
@@ -43,6 +43,9 @@
         (The default of :close_others option is changed to true by default.)
       * respond_to? against a protected method now returns false unless
         the second argument is true.
+      * __callee__ has returned to the original behavior, and now
+        returns the called name but not the original name in an
+        aliased method.
 
   * LoadError
     * added method:
@@ -50,6 +53,10 @@
         loaded.
 
   * Module
+    * added method:
+      * added Module#prepend which is similar to Module#include,
+        however a mehtod in the prepended module overrides the
+        corresponding method in the prepending module.
     * extended method:
       * Module#define_method accepts a UnboundMethod from a Module.
 

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

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