Method: RSpec::Core::MultipleExceptionError#message
- Defined in:
- lib/rspec/core/formatters/exception_presenter.rb
permalink #message ⇒ String
Note:
RSpec does not actually use this -- instead it formats each exception individually.
Returns Combines all the exception messages into a single string.
534 535 536 |
# File 'lib/rspec/core/formatters/exception_presenter.rb', line 534 def all_exceptions.map(&:message).join("\n\n") end |