Sha256: d69b72ea172f4bd26605dbde010f80f9ff1e4fef52e18a2aecd16b674986f1fc
Contents?: true
Size: 250 Bytes
Versions: 17
Compression:
Stored size: 250 Bytes
Contents
<% collection.each.with_index do |obj, index| -%> <%= builder.render_js('object', template_type: :layout, object: obj, locals: local_assigns.merge(var: "#{name}#{index}")) do |obj, var| %> <%= yield(obj, var) rescue nil %> <% end %> <% end %>
Version data entries
17 entries across 17 versions & 1 rubygems