Sha256: eac93404eead18a35c2f2261be9da2ba1dedc0b76aa169f31122b436158d9a0f
Contents?: true
Size: 204 Bytes
Versions: 420
Compression:
Stored size: 204 Bytes
Contents
namespace :log do desc "Truncates all *.log files in log/ to zero bytes" task :clear do FileList["log/*.log"].each do |log_file| f = File.open(log_file, "w") f.close end end end
Version data entries
420 entries across 381 versions & 43 rubygems