aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-08 08:01:06 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-08 08:01:06 +0000
commit1636105e7413d8f2c8b91f9c899d879acdc9464a (patch)
tree83fca5e276b0c1b8d90122d0e0ec0ed1c28087c0
parent7c964185267d8d2252e2e13eb46a11af5907b0a2 (diff)
downloadruby-1636105e7413d8f2c8b91f9c899d879acdc9464a.tar.gz
* bin/rdoc: ues File.exist? instead of File.exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--bin/rdoc2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d5417cc96e..212503013a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Dec 8 17:00:13 2006 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * bin/rdoc: ues File.exist? instead of File.exists.
+
Thu Dec 7 23:50:21 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (Init_Object): new method Dir.exist?(path).
diff --git a/bin/rdoc b/bin/rdoc
index fe619137fd..7192db2655 100644
--- a/bin/rdoc
+++ b/bin/rdoc
@@ -46,7 +46,7 @@ end
$:.each do |path|
if /site_ruby/ =~ path
rdoc_path = File.join(path, 'rdoc', 'rdoc.rb')
- if File.exists?(rdoc_path)
+ if File.exist?(rdoc_path)
adjust_for_existing_rdoc(path)
break
end