Class: File::Stat
- Inherits:
-
Object
- Object
- File::Stat
- Defined in:
- ext/_doc.rb,
ext/file-btime.c
Instance Method Summary collapse
-
#btime ⇒ Time
Returns the creation time for this file as an object of class
Timeornilif it is not available.
Instance Method Details
#btime ⇒ Time
Returns the creation time for this file as an object of class Time or nil if it is not available.
File.stat("testfile").btime #=> Wed Dec 31 18:00:00 CST 1969
29 30 31 |
# File 'ext/_doc.rb', line 29 def btime native_code end |