summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--bin/rdoc2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d5417cc..2125030 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 fe61913..7192db2 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