Okay, found the solution:

just write *nodes like

run_number, iteration, day, *nodes = line.split(" ")

-- 
Posted via http://www.ruby-forum.com/.