exist?

File.exist?(file_name) â true or false
Class Public methods

Return true if the named file exists.

file_name can be an IO object.

âfile existsâ means that stat() or fstat() system call is successful.

doc_ruby_on_rails
2015-04-06 10:04:39
Comments
Leave a Comment

Please login to continue.