stat.file? â true or false
Instance Public methods
Returns true
if stat is a regular file (not a device
file, pipe, socket, etc.).
1 | File .stat( "testfile" ).file? #=> true |
Returns true
if stat is a regular file (not a device
file, pipe, socket, etc.).
1 | File .stat( "testfile" ).file? #=> true |
Designed by : w10schools
service@w10schools.com
Please login to continue.