[1, 2, 3].join {|x| "<td>#{x}</td>"}   

          =>   "<td>1</td><td>2</td><td>3</td>"


For further info see:
http://www.rubygarden.org/ruby?ArrayBlockJoin


Is this a good/bad idea ?


--
Simon Strandgaard