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.
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.
Designed by : w10schools
service@w10schools.com
Please login to continue.