Sha256: cd6e32d0d91be84a46a6df1e6bb3777e48df45f428a44c99cdf7dcdaba47e898
Contents?: true
Size: 248 Bytes
Versions: 17
Compression:
Stored size: 248 Bytes
Contents
class Eye::Checker::FileTouched < Eye::Checker param :file, [String], true param :delete, [TrueClass, FalseClass] def get_value File.exists?(file) end def good?(value) File.delete(file) if value && delete !value end end
Version data entries
17 entries across 17 versions & 3 rubygems