From: Navindra Umanee Date: 2005-07-17T11:25:10+09:00 Subject: Re: delaying string evaluation Devin Mullins wrote: > > Woo! > > > <% @table.each do |row| %> > > <% row.each do |cell| %> > > <% end %> > > <% end %> >
<%= cell %>
> > Indeed. This is what the same code looks like in Ruby syntax: Woo! #{@table.map do |row| %{ #{row.map do |cell| %{} end.join} } end.join}
#{cell}
What do you think? It's close isn't it? But thanks for your example, I'm slowing starting to see the point. Cheers, Navin.