diff --git a/lib/shoryuken/options.rb b/lib/shoryuken/options.rb index 048ea297..2fa23d29 100644 --- a/lib/shoryuken/options.rb +++ b/lib/shoryuken/options.rb @@ -69,7 +69,7 @@ def polling_strategy(group) Polling::StrictPriority when String begin - Object.const_get(strategy) + Object.const_get(strategy) rescue NameError raise ArgumentError, "#{strategy} is not a valid polling_strategy" end