summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-30 08:10:04 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-30 08:10:04 +0000
commit59c74fab7967bcbad628a7b161577024939251ca (patch)
treec0ceae27e48acc7bbbff98a9d8884c3db6b91397 /file.c
parenta8cd15c96c02827f593d9a63fae66c2cdac5bdb6 (diff)
* file.c (rb_file_directory_p): update rdoc. a patch from Ilkka
Laukkanen. [ruby-core:30016] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/file.c b/file.c
index 56b467fa99..86ea3d67fa 100644
--- a/file.c
+++ b/file.c
@@ -1053,16 +1053,6 @@ access_internal(const char *path, int mode)
*/
/*
- * File.directory?(file_name) -> true or false
- * File.directory?(file_name) -> true or false
- *
- * Returns <code>true</code> if the named file is a directory,
- * <code>false</code> otherwise.
- *
- * File.directory?(".")
- */
-
-/*
* Document-method: exist?
*
* call-seq:
@@ -1081,7 +1071,8 @@ access_internal(const char *path, int mode)
* File.directory?(file_name) -> true or false
*
* Returns <code>true</code> if the named file is a directory,
- * <code>false</code> otherwise.
+ * or a symlink that points at a directory, and <code>false</code>
+ * otherwise.
*
* File.directory?(".")
*/