Hi

You may use csv library. It's standard library and came with ruby itself.
http://www.ruby-doc.org/stdlib/libdoc/csv/rdoc/index.html

ie)
reuqire 'csv'
a = CSV.open('file', 'r')
a.each do |row1, row2, row3|
  ...
end

regards

-- 
arton <artonx / yahoo.co.jp>

--------------------------------------
2010 FIFA World Cup News [Yahoo!Sports/sportsnavi]
http://pr.mail.yahoo.co.jp/southafrica2010/