lib/dispatch-rider/registrars/handler.rb in dispatch-rider-2.1.0 vs lib/dispatch-rider/registrars/handler.rb in dispatch-rider-2.2.0

- old
+ new

@@ -1,9 +1,11 @@ +# frozen_string_literal: true + # This is the registrar for the handlers. module DispatchRider module Registrars class Handler < Base - def value(name, options = {}) + def value(name, _options = {}) name.to_s.camelize.constantize end end end end