diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-24 06:55:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-24 06:55:24 +0000 |
commit | cc6e6de22f08a857174813cc90e8e378c71fbef9 (patch) | |
tree | 88a411d665451fd7a92aa0be91596b436b6573cf /eval.c | |
parent | 41d6ba8765f0d856ce5cca293531f717b068ee3f (diff) | |
download | ruby-cc6e6de22f08a857174813cc90e8e378c71fbef9.tar.gz |
re-fix documents
File.realdirpath(path) is not a shorthand for
File.dirname(File.realpath(path)), just does not err if the last
component does not exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |