Sha256: 8146dfc175e153ecc3d338dcc8cade9c415986bcb7aa8daf60483bdba956bdd2

Contents?: true

Size: 496 Bytes

Versions: 7

Compression:

Stored size: 496 Bytes

Contents

<% exceptions.each do |e| %>
  <div class="step_exception">
    <dl>
      <dt>Failure:</dt>
      <dd>
        <pre><%= ERB::Util.h(e[:message]) %></pre>
      </dd>
      <dt>Backtrace:</dt>
      <dd>
        <ol>
          <% e[:backtrace].each do |line| %>
            <li><%= ERB::Util.h(line) %></li>
          <% end %>
        </ol>
      </dd>
    </dl>
  </div>
  <% unless e[:code].nil? %>
    <pre class="source"><code class="ruby"><%= e[:code] %></code></pre>
  <% end %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
turnip_formatter-0.8.0 lib/turnip_formatter/step_template/exception.html.erb
turnip_formatter-0.7.2 lib/turnip_formatter/step_template/exception.html.erb
turnip_formatter-0.7.1 lib/turnip_formatter/step_template/exception.html.erb
turnip_formatter-0.7.0 lib/turnip_formatter/step_template/exception.html.erb
turnip_formatter-0.6.1 lib/turnip_formatter/step_template/exception.html.erb
turnip_formatter-0.6.0 lib/turnip_formatter/step_template/exception.html.erb
turnip_formatter-0.6.0.pre.beta.7 lib/turnip_formatter/step_template/exception.html.erb