Created
May 23, 2015 14:34
-
-
Save romulostorel/a1caf72a0455d6c2e010 to your computer and use it in GitHub Desktop.
This file contains 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
%w(1 2 3 4 5).in_groups_of(2, false) do |group| | |
div.row | |
group.each do |product| | |
div.column | |
product | |
end | |
end | |
div.row | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment