Method: RSpec::Core::Notifications::FailedExampleNotification#fully_formatted_lines

Defined in:
lib/rspec/core/notifications.rb

#fully_formatted_lines(failure_number, colorizer = ::RSpec::Core::Formatters::ConsoleCodes) ⇒ Array<string>

Returns The failure information fully formatted in the way that RSpec's built-in formatters emit, split by line.

Returns:

  • (Array<string>)

    The failure information fully formatted in the way that RSpec's built-in formatters emit, split by line.


207
208
209
# File 'lib/rspec/core/notifications.rb', line 207

def fully_formatted_lines(failure_number, colorizer=::RSpec::Core::Formatters::ConsoleCodes)
  @exception_presenter.fully_formatted_lines(failure_number, colorizer)
end