Class: RSpec::Core::Formatters::ExceptionPresenter
- Inherits:
-
Object
- Object
- RSpec::Core::Formatters::ExceptionPresenter
- Defined in:
- lib/rspec/core/formatters_ext.rb
Instance Method Summary collapse
Instance Method Details
#fully_formatted_lines(failure_number, colorizer) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/rspec/core/formatters_ext.rb', line 5 def fully_formatted_lines(failure_number, colorizer) [ detail_formatter.call(example, colorizer), (colorizer), extra_detail_formatter.call(failure_number, colorizer) ].compact.flatten.map { |line| "#{' ' * (2 + @indentation)}#{line}" } end |