Method: RSpec::Core::Formatters::BaseTextFormatter#message

Defined in:
lib/rspec/core/formatters/base_text_formatter.rb

#message(notification) ⇒ void

Used by the reporter to send messages to the output stream.

Parameters:

  • notification (MessageNotification)

    containing message


21
22
23
# File 'lib/rspec/core/formatters/base_text_formatter.rb', line 21

def message(notification)
  output.puts notification.message
end