Method: File::Stat#atime

Defined in:
file.c

#atimeTime

Returns the last access time for this file as an object of class Time.

File.stat("testfile").atime   #=> Wed Dec 31 18:00:00 CST 1969

Returns:



990
991
992
993
994
# File 'file.c', line 990

static VALUE
rb_stat_atime(VALUE self)
{
    return stat_atime(get_stat(self));
}