summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
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 622bfedf76..c4bda48524 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.realdirpath(__FILE__)</code>.
+ * The return value equals to <code>File.dirname(File.realpath(__FILE__))</code>.
*
*/
static VALUE