summaryrefslogtreecommitdiff
path: root/bin
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 /bin
parent7c964185267d8d2252e2e13eb46a11af5907b0a2 (diff)
* 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
Diffstat (limited to 'bin')
-rw-r--r--bin/rdoc2
1 files changed, 1 insertions, 1 deletions
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