# File lib/lockfile-1.4.3.rb, line 394 def validlock? #--{{{ if @max_age uncache @path rescue nil begin return((Time.now - File::stat(@path).mtime) < @max_age) rescue Errno::ENOENT return nil end else exist = File::exist?(@path) return(exist ? true : nil) end #--}}} end