New answers tagged

-1

I am reading the book aswell and I came up with the following solution, File.read('text.txt').split(/\n/).each do |t| p t if t =~ /bleh/ end Which I think is very nice. I am however also a Ruby-rookie. :)


Top 50 recent answers are included