aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 20:10:29 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 20:10:29 +0000
commit4e4d425095ec360ecfa453bc0e72e4e81bd5e9e9 (patch)
treedcee6559b0a5287d0ef637b17f1cd1cdeaf4636c
parent74bc7c438eb7795e68ab01412d702b333eb16e29 (diff)
downloadruby-4e4d425095ec360ecfa453bc0e72e4e81bd5e9e9.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
-rw-r--r--file.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/file.c b/file.c
index 843a9796b0..295192bb79 100644
--- a/file.c
+++ b/file.c
@@ -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.