Ruby/File Directory/File.exists
Материал из Wiki.crossplatform.ru
Версия от 17:10, 26 мая 2010;   (Обсуждение)
				
			Does a file exist
File.file?( "yourFile.txt" ) # => true
   
File Inquiries
# tests whether a file exists before opening it File::open("file.rb") if File::exists?( "file.rb" )
