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

ruby-changes:26863

From: nari <ko1@a...>
Date: Thu, 24 Jan 2013 11:50:33 +0900 (JST)
Subject: [ruby-changes:26863] nari:r38915 (trunk): * eval.c (f_current_dirname): Add documentation about "__dir__

nari	2013-01-24 11:50:23 +0900 (Thu, 24 Jan 2013)

  New Revision: 38915

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

  Log:
    * eval.c (f_current_dirname): Add documentation about "__dir__
      returns always an absolute path". [Bug #7729]

  Modified files:
    trunk/ChangeLog
    trunk/eval.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38914)
+++ ChangeLog	(revision 38915)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jan 24 11:43:47 2013  Narihiro Nakamura  <authornari@g...>
+
+	* eval.c (f_current_dirname): Add documentation about "__dir__
+	  returns always an absolute path". [Bug #7729]
+
 Thu Jan 24 10:28:30 2013  Eric Hodel  <drbrain@s...>
 
 	* NEWS (RDoc):  Added mention of page support and markdown support.
Index: eval.c
===================================================================
--- eval.c	(revision 38914)
+++ eval.c	(revision 38915)
@@ -1507,6 +1507,7 @@ rb_f_callee_name(void) https://github.com/ruby/ruby/blob/trunk/eval.c#L1507
  *
  *  Returns the value of <code>File.dirname(__FILE__)</code>
  *  If <code>__FILE__</code> is <code>nil</code>, it returns <code>nil</code>.
+ *  And it returns always an absolute path.
  *
  */
 static VALUE

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

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