class RSpec::Core::Bisect::Notifier
@private
any way.
of an ‘RSpec::Core::Reporter`, without involving configuration in
Wraps a `formatter` providing a simple means to notify it in place
def initialize(formatter)
def initialize(formatter) @formatter = formatter end
def publish(event, *args)
def publish(event, *args) return unless @formatter.respond_to?(event) notification = Notifications::CustomNotification.for(*args) @formatter.__send__(event, notification) end