<%- @object.each_with_index do |obj, i| -%> <%- tr_class = (i % 2 == 0) ? "even-record" : "" tr_class += " #{list_row_class(obj)}" if respond_to? :list_row_class -%> <%- end -%>

index

value

type

<%=i+1%> <%= inspect obj, child_options %> <%=h obj.class.name %>