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

key

value

type

<%=h key %> <%#h obj.inspect %><%= inspect obj, child_options rescue "error" %> <%=h obj.class.name %>