class Cucumber::Core::EventBus

def broadcast(event)

 Broadcast an event
def broadcast(event)
  raise ArgumentError, "Event type #{event.class} is not registered. Try one of these:\n#{event_types.values.join("\n")}" unless is_registered_type?(event.class)
  handlers_for(event.class).each { |handler| handler.call(event) }
  @event_queue << event
end