exists?

File.exists?(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:06:35
Comments
Leave a Comment

Please login to continue.