diff options
author | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-07 20:10:29 +0000 |
---|---|---|
committer | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-07 20:10:29 +0000 |
commit | 086015a5cb48f58a90d33df8d0494520e2e9c34c (patch) | |
tree | dcee6559b0a5287d0ef637b17f1cd1cdeaf4636c /file.c | |
parent | bf6ea09c8fee6a27ec582b8962fdc13399832164 (diff) | |
download | ruby-086015a5cb48f58a90d33df8d0494520e2e9c34c.tar.gz |
file.c: improve docs for File#path
* file.c: [DOC] fix grammar in docs for File#path
and use a stronger description than "inaccurate".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -426,8 +426,9 @@ apply2files(int (*func)(const char *, void *), int argc, VALUE *argv, void *arg) * Returns the pathname used to create <i>file</i> as a string. Does * not normalize the name. * - * The pathname may not point the file corresponding to <i>file</i>. - * For instance, pathname becomes inaccurate when file has been moved or deleted. + * The pathname may not point to the file corresponding to <i>file</i>. + * For instance, the pathname becomes void when the file has been + * moved or deleted. * * This method raises <code>IOError</code> for a <i>file</i> created using * <code>File::Constants::TMPFILE</code> because they don't have a pathname. |