Method: RSpec::Core::Formatters::FallbackMessageFormatter#message

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

#message(notification) ⇒ void

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

Parameters:

  • notification (MessageNotification)

    containing message

[View source] [View on GitHub]

22
23
24
# File 'lib/rspec/core/formatters/fallback_message_formatter.rb', line 22

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