From 51a7c71da2188afe106bfdbc0d4cbfe340107c83 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Fri, 29 Mar 2019 15:39:26 +0100 Subject: [PATCH] Avoid YARD docstring warning UnknownParam --- lib/cucumber/core/event_bus.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {}