* eval.c (f_current_dirname): Add documentation about "__dir__

returns always an absolute path". [Bug #7729]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nari 2013-01-24 02:50:23 +00:00
parent cef8eae85d
commit 8ad1564688
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Thu Jan 24 11:43:47 2013 Narihiro Nakamura <authornari@gmail.com>
* 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@segment7.net>
* NEWS (RDoc): Added mention of page support and markdown support.

1
eval.c
View File

@ -1507,6 +1507,7 @@ rb_f_callee_name(void)
*
* 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