* 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
This commit is contained in:
usa 2006-12-08 08:01:06 +00:00
parent 7c96418526
commit 1636105e74
2 changed files with 5 additions and 1 deletions

View File

@ -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).

View File

@ -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