Sha256: 060925d3d1a0b0322dc8223f60ecbc57c03e73c1d1b2ef8b901aa1a4ffce0ccb
Contents?: true
Size: 336 Bytes
Versions: 12
Compression:
Stored size: 336 Bytes
Contents
Oats.info "Running #{Oats.test.name}" file = "#{ENV['HOME']}/#{Oats.test.name}" total = Oats.data['count'] || 1 interval = Oats.data['interval'] || 1 total.times do |i| Oats.info "Count is #{i}, no file #{file}" if File.exists? file Oats.info "Found file #{file}" File.mv file, file+'.x' break end sleep interval end
Version data entries
12 entries across 12 versions & 1 rubygems