Mega Code Archive
Categories
/
Ruby
/
File Directory
File Inquiries
# tests whether a file exists before opening it File::open("file.rb") if File::exists?( "file.rb" )