Skip to content

Instantly share code, notes, and snippets.

@jordandm
Created April 5, 2012 01:27
Show Gist options
  • Select an option

  • Save jordandm/2307188 to your computer and use it in GitHub Desktop.

Select an option

Save jordandm/2307188 to your computer and use it in GitHub Desktop.
Revised template...
<% @domains.each do |domain, items| %>
<% items.each do |item, types | %>
<% types.each do |type, value| %>
<%= "#{domain}".ljust(16) %> <%= "#{type}".ljust(8) %><%= "#{item}".ljust(16) %><%= "#{value}" %>
<% end -%>
<% end -%>
<% end -%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment