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

ruby-changes:26865

From: nari <ko1@a...>
Date: Thu, 24 Jan 2013 12:08:09 +0900 (JST)
Subject: [ruby-changes:26865] nari:r38917 (trunk): fix NEWS of __dir__

nari	2013-01-24 12:08:00 +0900 (Thu, 24 Jan 2013)

  New Revision: 38917

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

  Log:
    fix NEWS of __dir__

  Modified files:
    trunk/NEWS

Index: NEWS
===================================================================
--- NEWS	(revision 38916)
+++ NEWS	(revision 38917)
@@ -74,7 +74,8 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L74
   * Kernel
     * added method:
       * added Kernel#Hash conversion method like Array() or Float().
-      * added Kernel#__dir__ which returns a current dirname.
+      * added Kernel#__dir__ which returns the absolute path of the
+        directory of the file from which this method is called.
       * added Kernel#caller_locations which returns an array of
         frame information objects.
     * extended method:

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

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