diff --git a/lib/cucumber/core/event_bus.rb b/lib/cucumber/core/event_bus.rb index 555f9d45..e272e245 100644 --- a/lib/cucumber/core/event_bus.rb +++ b/lib/cucumber/core/event_bus.rb @@ -11,7 +11,7 @@ module Core class EventBus attr_reader :event_types - # @param [Hash{Symbol => Class}] a hash of event types to use on the bus + # @param registry [Hash{Symbol => Class}] a hash of event types to use on the bus def initialize(registry = Events.registry) @event_types = registry.freeze @handlers = {}