Ruby - File IO
You want to read a file and count how many lines contain the word 'error'. Which code correctly uses
File.open with a block to do this?File.open with a block to do this?15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions