Need to check a file for a line Lets say "this is an example" I am going to just take every line into an array and then have a For loop to check the array for that line. Im pretty sure this will work but is there any cleaner way to do it? -- Posted via http://www.ruby-forum.com/.