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

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + # Top level namespace of the gem require "dispatch-rider/version" require "active_support/hash_with_indifferent_access" require "active_support/core_ext/hash/indifferent_access" @@ -20,10 +22,10 @@ end def configuration @configuration ||= Configuration.new end - alias_method :config, :configuration + alias config configuration def clear_configuration! @configuration = nil end end