Sha256: 7549c506a36793046c0c4a0d954619492a45d4e3700e9a6bff34be23aee65a2f
Contents?: true
Size: 544 Bytes
Versions: 10
Compression:
Stored size: 544 Bytes
Contents
<table class="inspector"> <tr> <th><p>key</p></th> <th><p>value</p></th> <th><p>type</p></th> </tr> <%- @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 -%> <tr class="record <%=tr_class%>"> <td><%=h key %></td> <td><%#h obj.inspect %><%= inspect obj, child_options rescue "error" %></td> <td><%=h obj.class.name %></td> </tr> <%- end -%> </table>
Version data entries
10 entries across 10 versions & 2 rubygems