Created
April 28, 2011 09:49
-
-
Save eval/946103 to your computer and use it in GitHub Desktop.
iterations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% ['item 1', 'item 2'].each do |item| %> | |
<li><%= item %></li> | |
<% end %> | |
<% 3.times do |ix| %> | |
<li><%= ix %></li> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment