module Rdoba::Mixin::Time

Public Instance Methods

atime(file) click to toggle source
# File lib/rdoba/mixin/time.rb, line 7
def atime file
   FFI::Stat.stat( file )[:st_atimespec].to_time ; end
ctime(file) click to toggle source
# File lib/rdoba/mixin/time.rb, line 10
def ctime file
   FFI::Stat.stat( file )[:st_ctimespec].to_time ; end
mtime(file) click to toggle source
# File lib/rdoba/mixin/time.rb, line 4
def mtime file
   FFI::Stat.stat( file )[:st_mtimespec].to_time ; end