summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-24 02:50:23 +0000
committernari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-24 02:50:23 +0000
commit8ad15646889383f5546922bc5bb6f3f5a7391dfa (patch)
tree6e5c2b58094c48b61c27bd052207941b51e06cbb /eval.c
parentcef8eae85dac5e32735a43302aa02964da3651c2 (diff)
downloadruby-8ad15646889383f5546922bc5bb6f3f5a7391dfa.tar.gz
* 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
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 1b746f26ad..13602bc663 100644
--- a/eval.c
+++ b/eval.c
@@ -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