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

Version Path
maiha-merb_inspector-0.2.5.1 templates/object/_default.html.erb
maiha-merb_inspector-0.2.5 templates/object/_default.html.erb
maiha-merb_inspector-0.2.6 templates/object/_default.html.erb
maiha-merb_inspector-0.2.7 templates/object/_default.html.erb
maiha-merb_inspector-0.2.8 templates/object/_default.html.erb
maiha-merb_inspector-0.2.9 templates/object/_default.html.erb
maiha-merb_inspector-0.3.0 templates/object/_default.html.erb
maiha-merb_inspector-0.3.1 templates/object/_default.html.erb
maiha-merb_inspector-0.3.2 templates/object/_default.html.erb
merb_inspector-0.3.2 templates/object/_default.html.erb