Class: File::Stat

Inherits:
Object
  • Object
show all
Defined in:
ext/_doc.rb,
ext/file-btime.c

Instance Method Summary collapse

Instance Method Details

#btimeTime

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