+ 1
I Can't test this code in codeplayground ruby please!!
File.foreach( 'test.txt' ) do |line| puts line p line p line.chomp # chops off newline character p line.split # array of words in line end thanks a lot!!!
1 Answer
+ 11
yes I give you permission