summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-10 15:58:53 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-10 15:58:53 +0000
commitf8beb090b7237413ae223967896a4e06e169d327 (patch)
tree46e759da1b7c6071ee05c313b36ddc1dbcc4234d /file.c
parent50d9b43b38ba7c3557305dacbcc78995fe8497d6 (diff)
merges r28088 from trunk into ruby_1_9_2.
-- * 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/branches/ruby_1_9_2@28265 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 0ce6e3a19b..1d9ad50840 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?(".")
*/