Sha256: 6a50b5461ca54d55732e023605aa3a27c48fc54c76fc9cd9fae8e3bfb55aa59e

Contents?: true

Size: 466 Bytes

Versions: 2

Compression:

Stored size: 466 Bytes

Contents

<table class="inspector">
<tr>
  <th><p>key</p></th>
  <th><p>value</p></th>
  <th><p>type</p></th>
</tr>
<%- @object.keys.each_with_index do |key, i| -%>
<%-   obj = @object[key] -%>
<%-
tr_class = (i % 2 == 0) ? "even-record" : ""
tr_class += " #{list_row_class(record)}" if respond_to? :list_row_class
-%>
<tr class="record <%=tr_class%>">
  <td><%=h key.inspect %></td>
  <td><%=h obj.inspect %></td>
  <td><%=h obj.class.name %></td>
</tr>
<%- end -%>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
maiha-merb_inspector-0.2.1 templates/hash/_default.html.erb
maiha-merb_inspector-0.2.2 templates/hash/_default.html.erb