File.mtime(file_name) â time
Class Public methods
Returns the modification time for the named file as a Time object.
file_name can be an IO object.
1 | File .mtime( "testfile" ) #=> Tue Apr 08 12:58:04 CDT 2003 |
Designed by : w10schools
service@w10schools.com
Please login to continue.