From f8beb090b7237413ae223967896a4e06e169d327 Mon Sep 17 00:00:00 2001 From: yugui Date: Thu, 10 Jun 2010 15:58:53 +0000 Subject: 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 --- file.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'file.c') diff --git a/file.c b/file.c index 0ce6e3a19b..1d9ad50840 100644 --- a/file.c +++ b/file.c @@ -1052,16 +1052,6 @@ access_internal(const char *path, int mode) * */ -/* - * File.directory?(file_name) -> true or false - * File.directory?(file_name) -> true or false - * - * Returns true if the named file is a directory, - * false otherwise. - * - * File.directory?(".") - */ - /* * Document-method: exist? * @@ -1081,7 +1071,8 @@ access_internal(const char *path, int mode) * File.directory?(file_name) -> true or false * * Returns true if the named file is a directory, - * false otherwise. + * or a symlink that points at a directory, and false + * otherwise. * * File.directory?(".") */ -- cgit v1.2.3