instance method
File::Stat#atime
() -> ::Time
stat.atime → time
file.c
View on GitHub ↗
static VALUE
rb_stat_atime(VALUE self)
{
return stat_time(statx_atimespec(get_stat(self)));
}
Returns the last access time for this file as an object of class Time.
Example
File.stat("testfile").atime #=> Wed Dec 31 18:00:00 CST 1969