Ruby: For loop

Could it be any simpler? This is FOR-ing through a collection, array, hash, zoo, snorkel, what have you.

<% for book in books %>
     <%= book %>
<% end %>
, , , , , ,

Leave a Reply

You must be logged in to post a comment.