APIdock / Ruby
/
method

atime

ruby latest stable - Class: File ::Stat
atime()
public

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
static VALUE
rb_stat_atime(VALUE self)
{
 return stat_atime(get_stat(self));
}

AltStyle によって変換されたページ (->オリジナル) /