method

atime

v1_9_3_125 - Show 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