From: Martin Sharon Date: 2009-04-27T13:22:48+09:00 Subject: append .cvs behind an array value I want to add ".cvs" at the end of a name,and use the following sentenses: namelist.each do |name| name = name +'.cvs' end but error message is : test2.rb:43:in `+': can't convert String into Array (TypeError) from test2.rb:43 from test2.rb:39:in `each' from test2.rb:39 What's wrong with it? how to fix it? thanks! -- Posted via http://www.ruby-forum.com/.