method

birthtime

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: File
birthtime(p1) public

Returns the birth time for the named file.

file_name can be an IO object.

File.birthtime("testfile")   #=> Wed Apr 09 08:53:13 CDT 2003

If the platform doesn’t have birthtime, raises NotImplementedError.

Show source
Register or log in to add new notes.