exists?

File.exists?(file_name) â true or false
Instance 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 14:54:30
Comments
Leave a Comment

Please login to continue.