+ 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!!!

28th Feb 2017, 2:29 PM
wally22
1 Resposta
+ 11
yes I give you permission
28th Feb 2017, 12:51 PM
Ahri Fox
Ahri Fox - avatar