Skip to content

Commit 6fed80c

Browse files
committed
Replace File.exists? with File.exist?
1 parent 5871b93 commit 6fed80c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@ RDoc::Task.new do |rdoc|
7676
rdoc.rdoc_files.include("bin/*.rb")
7777
rdoc.rdoc_files.include("lib/**/*.rb")
7878
extra_files.each { |file|
79-
rdoc.rdoc_files.include(file) if File.exists?(file)
79+
rdoc.rdoc_files.include(file) if File.exist?(file)
8080
}
8181
end

0 commit comments

Comments
 (0)