summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-24 05:35:05 +0000
committernari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-24 05:35:05 +0000
commit892e8efd47343925b76cd12da965109f084a1817 (patch)
tree54b77c84ef59fd12022c2cb333d61a1195d42acb /eval.c
parentded754f33d89a0ae2f5fdbc567ea18639e28eb33 (diff)
fix documents. __dir__ is a shorthand File.realdirpath(__FILE__).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index c4bda48524..622bfedf76 100644
--- a/eval.c
+++ b/eval.c
@@ -1508,7 +1508,7 @@ rb_f_callee_name(void)
* Returns the canonicalized absolute path of the directory of the file from
* which this method is called. It means symlinks in the path is resolved.
* If <code>__FILE__</code> is <code>nil</code>, it returns <code>nil</code>.
- * The return value equals to <code>File.dirname(File.realpath(__FILE__))</code>.
+ * The return value equals to <code>File.realdirpath(__FILE__)</code>.
*
*/
static VALUE