class Eye::Checker::FileTouched
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
Eye::Checker::new
# File lib/eye/checker/file_touched.rb, line 6 def initialize(*args) super self.file = process.expand_path(file) if process && file end
Public Instance Methods
get_value()
click to toggle source
# File lib/eye/checker/file_touched.rb, line 11 def get_value File.exist?(file) end
good?(value)
click to toggle source
# File lib/eye/checker/file_touched.rb, line 15 def good?(value) File.delete(file) if value && delete !value end