From: Hassan Schroeder Date: 2010-03-11T09:55:02+09:00 Subject: Re: iterate through an @Array On Wed, Mar 10, 2010 at 4:35 PM, John William wrote: > How do I display the attr_accessors in a table > This doesn’t seem to be the right way as it repeats the table each time > it iterates through the array. puts "" > @sample_array.each do |t| > puts"" > end puts “
#{t.name}#{t.address}#{t.city}#{t.state}
” -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com twitter: @hassan