I am learning to program in ruby, I already knew how to program in c ++ and with the use of cin there is no problem but in ruby I have noticed that the ruby gets read a complete line so that if I enter:
1 2 3 4
5 6 7 8
I can not read what comes after the 1 or the 5 Is there any extra reading function or do we have to take the complete String that returns gets and go through it to get the integers