From: La Wi Date: 2011-12-04T11:38:32+09:00 Subject: Re: Dynamic instances of a class. Oops again! This should work better: Motorcycle.new( *line.split( ',' ) ) line.split(',') is a single arg that is an array. The * turns the array into a list of args. Also, wrt your earlier reply, note that [1..-1] gets the 2nd thru last elements of an array. The first thru last would be [0..-1]. -- Posted via http://www.ruby-forum.com/.