Method: RSpec::Expectations::Configuration#backtrace_formatter
- Defined in:
-
lib/rspec/expectations/configuration.rb,
lib/rspec/expectations/configuration.rb
Sets or gets the backtrace formatter. The backtrace formatter should
implement #format_backtrace(Array<String>). This is used
to format backtraces of errors handled by the raise_error
matcher.
If you are using rspec-core, rspec-core's backtrace formatting
will be used (including respecting the presence or absence of
the --backtrace option).
133 |
# File 'lib/rspec/expectations/configuration.rb', line 133 attr_writer :backtrace_formatter |