From: Joel Pearson Date: 2013-04-30T03:27:44+09:00 Subject: Re: writing lines to a file Does this work? File.foreach(cardList) do |line| parse= Card.new( *Array.new( 4, line.to_s ) ) File.open('foozled.txt','a') { |f| f.puts parse.to_s } end -- Posted via http://www.ruby-forum.com/.