Sha256: c662f9a80f21a1e7e4f485f9ea95cc52faf67f3cc73dba6b314c386073325e71

Contents?: true

Size: 713 Bytes

Versions: 2

Compression:

Stored size: 713 Bytes

Contents

<section class="exception">
  <h1>TurnipFormatter RuntimeError</h1>
  <dl>
    <dt>Runtime Exception</dt>
    <dd><%= h(exception.to_s) %></dd>

    <dt>Runtime Exception Backtrace</dt>
    <%= print_exception_backtrace(exception) %>

    <dt>Example Full Description</dt>
    <dd><%= h(example.metadata[:full_description]) %></dd>

    <% if example.exception %>
      <dt>Example Exception</dt>
      <dd><%= h(example.exception.to_s) %></dd>

      <dt>Example Backtrace</dt>
      <%= print_exception_backtrace(example.exception) %>
    <% end %>

    <% if example.pending %>
      <dt>Example Pending description</dt>
      <dd><%= h(example.metadata[:description]) %></dd>
    <% end %>
  </dl>
</section>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
turnip_formatter-0.2.1 lib/turnip_formatter/template/exception.erb
turnip_formatter-0.2.0 lib/turnip_formatter/template/exception.erb