class RSpec::Core::Formatters::FallbackMessageFormatter
@api private Formatter for providing message output as a fallback when no other profiler implements message
Attributes
@private
Public Class Methods
# File rspec-core/lib/rspec/core/formatters/fallback_message_formatter.rb, line 10 def initialize(output) @output = output end
Public Instance Methods
@api public
Used by the reporter to send messages to the output stream.
@param notification [MessageNotification] containing message
# File rspec-core/lib/rspec/core/formatters/fallback_message_formatter.rb, line 22 def message(notification) output.puts notification.message end