lib/mizuno/reloader.rb
def mtime(file)
            begin
                return unless file
                stat = File.stat(file)
                stat.file? ? stat.mtime.to_i : nil
            rescue Errno::ENOENT, Errno::ENOTDIR, Errno::ESRCH
                nil
            end
        end
def mtime(file)
            begin
                return unless file
                stat = File.stat(file)
                stat.file? ? stat.mtime.to_i : nil
            rescue Errno::ENOENT, Errno::ENOTDIR, Errno::ESRCH
                nil
            end
        end
def mtime ( file ) begin return unless file stat = File . stat ( file ) stat . file? ? stat . mtime . to_i : nil rescue Errno :: ENOENT , Errno :: ENOTDIR , Errno :: ESRCH nil end end
Returns the modification time of _file_.
Returns the modification time of _file_ .