Class: RSpec::Core::Formatters::FallbackMessageFormatter Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | rspec-core/lib/rspec/core/formatters/fallback_message_formatter.rb |
Overview
Formatter for providing message output as a fallback when no other profiler implements #message
Class Method Summary
- .new(output) ⇒ FallbackMessageFormatter constructor Internal use only
Instance Attribute Summary
- #output readonly Internal use only
Instance Method Summary
-
#message(notification)
Used by the reporter to send messages to the output stream.
Instance Attribute Details
#output (readonly)
[ GitHub ]# File 'rspec-core/lib/rspec/core/formatters/fallback_message_formatter.rb', line 15
attr_reader :output
Instance Method Details
#message(notification)
Used by the reporter to send messages to the output stream.
# File 'rspec-core/lib/rspec/core/formatters/fallback_message_formatter.rb', line 22
def (notification) output.puts notification. end