Permalink
Browse files

exists? not exist

  • Loading branch information...
1 parent 7e11db6 commit 1ab4f3435f1a22d2cafda2127b9a4bb1c3c4fe9b @lightcap lightcap committed Feb 25, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 install.rb
View
@@ -1,4 +1,4 @@
-if File.exists(File.join(File.dirname(__FILE__), 'README'))
+if File.exists?(File.join(File.dirname(__FILE__), 'README'))
puts IO.read(File.join(File.dirname(__FILE__), 'README'))
else
puts IO.read(File.join(File.dirname(__FILE__), 'README.textile'))

0 comments on commit 1ab4f34

Please sign in to comment.