Sha256: 47fc9d13311a59c0c543cb07caa2fe0483d052f7ff324ffc2c71cafe45b7e9c2

Contents?: true

Size: 572 Bytes

Versions: 42

Compression:

Stored size: 572 Bytes

Contents

<% ["GET", "POST", "Session", "Cookies", "SERVER VARIABLES", "Rack ENV"].each do |header|
next unless sections.has_key?(header)
%>
<h3><%=header%></h3>
<table id="request_variables">
  <thead>
    <tr>
      <th>Variable</th>
      <th>Value</th>
    </tr>
  </thead>
  <tbody>
    <% i = 1 %>
    <% sections[header].each do |key, val| %>
      <tr class="<%= i % 2 == 0 ? "even" : "odd" %>">
        <td><%=h key %></td>
        <td class="code"><div>
            <%=h val%>
        </div></td>
      </tr>
      <% i += 1 %>
    <% end %>
  </tbody>
</table>
<% end %>

Version data entries

42 entries across 42 versions & 2 rubygems

Version Path
rack-insight-0.5.13 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.12 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.11 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.10 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.9 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.8 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.7 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.6 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.5 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.4 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.3 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.2 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.1 lib/rack/insight/views/panels/request_variables.html.erb
rack-insight-0.5.0 lib/rack/insight/views/panels/request_variables.html.erb
logical-insight-0.4.7 lib/insight/views/panels/request_variables.html.erb
logical-insight-0.4.6 lib/insight/views/panels/request_variables.html.erb
logical-insight-0.4.5 lib/insight/views/panels/request_variables.html.erb
logical-insight-0.4.4 lib/insight/views/panels/request_variables.html.erb
logical-insight-0.4.3 lib/insight/views/panels/request_variables.html.erb
logical-insight-0.4.2 lib/insight/views/panels/request_variables.html.erb