Class: TurnipFormatter::Printer::RuntimeError
- Inherits:
-
Object
- Object
- TurnipFormatter::Printer::RuntimeError
- Extended by:
- RSpec::Core::BacktraceFormatter, TurnipFormatter::Printer
- Defined in:
- lib/turnip_formatter/printer/runtime_error.rb
Class Method Summary collapse
Methods included from TurnipFormatter::Printer
Class Method Details
.print_out(example, exception) ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/turnip_formatter/printer/runtime_error.rb', line 11 def print_out(example, exception) exception.set_backtrace(format_backtrace(exception.backtrace)) render_template(:runtime_exception, { example: example, runtime_exception: runtime_exception(exception), example_exception: example_exception(example), } ) end |