Method: RSpec::Core::Bisect::Notifier#publish

Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/bisect/utilities.rb

#publish(event, *args) ⇒ Object



24
25
26
27
28
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/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