From 086015a5cb48f58a90d33df8d0494520e2e9c34c Mon Sep 17 00:00:00 2001 From: stomar Date: Tue, 7 Nov 2017 20:10:29 +0000 Subject: 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 --- file.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'file.c') 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 file as a string. Does * not normalize the name. * - * The pathname may not point the file corresponding to file. - * For instance, pathname becomes inaccurate when file has been moved or deleted. + * The pathname may not point to the file corresponding to file. + * For instance, the pathname becomes void when the file has been + * moved or deleted. * * This method raises IOError for a file created using * File::Constants::TMPFILE because they don't have a pathname. -- cgit v1.2.3