% for row in rows: * Here is a row: ${row} % endfor
That's kind of 'hackish', but not bad at all if you ask me.
Compared to an ERB snippet it is about the same (though you'd probably use each and a block here in Ruby.
<% for row in row %> * <%= row %> <% end %>
That's kind of 'hackish', but not bad at all if you ask me.
Compared to an ERB snippet it is about the same (though you'd probably use each and a block here in Ruby.