Ruby readlines.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Ruby readlines..

How to use readline ( line by line ) with if else

8th Jun 2017, 8:50 AM
John Dave V. Guillermo
John Dave V. Guillermo - avatar
2 Answers
0
where do you have to? you could check, whether there are any lines in this array?
8th Jun 2017, 8:57 PM
Arthur Fibich
Arthur Fibich - avatar
0
i have a textfile ... i want to read it line by line and have a if else statement
9th Jun 2017, 4:51 AM
John Dave V. Guillermo
John Dave V. Guillermo - avatar