Tagged: ruby

if File.readlines("testfile.txt").grep(/monitor/).any?
April 28, 2016 by bart
File.foreach('testfile') {|x| print "GOT", x }
April 28, 2016 by bart
April 18, 2016 by bart
December 9, 2015 by bart
December 9, 2015 by bart
December 8, 2015 by bart
December 8, 2015 by bart
December 7, 2015 by bart