Sha256: 7266f9303e08c1632e6ceabd406f936772e9e4ff00e30df0d4534455661f90e6
Contents?: true
Size: 383 Bytes
Versions: 9
Compression:
Stored size: 383 Bytes
Contents
<%- width = 66 -%> <%= '-'*width %> <% collection.each do |item| -%> <% view_model = view_model_for(item, self) -%> <%- result = view_model.render_as(template_name) -%> <%= '|' + "%-#{width}s"%(result[0,width]) + '|' -%> <%- p ('|' + "%-#{width}s"%(result[0,width]) + '|') %> <%= separator || ">#{'-'*(width-2)}<" unless item == collection.entries.last %> <% end -%> <%= '-'*width %>
Version data entries
9 entries across 9 versions & 1 rubygems