Class: RSpec::Core::Bisect::Notifier Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | rspec-core/lib/rspec/core/bisect/utilities.rb |
Overview
Wraps a formatter
providing a simple means to notify it in place of an ::RSpec::Core::Reporter
, without involving configuration in any way.
Class Method Summary
- .new(formatter) ⇒ Notifier constructor Internal use only
Instance Method Summary
- #publish(event, *args) Internal use only
Instance Method Details
#publish(event, *args)
[ GitHub ]# File 'rspec-core/lib/rspec/core/bisect/utilities.rb', line 24
def publish(event, *args) return unless @formatter.respond_to?(event) notification = Notifications::CustomNotification.for(*args) @formatter.__send__(event, notification) end