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

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + # This class is responsible for dispatching the messages to the appropriate handler. # The handlers must be registered with the dispatcher. # Tha handlers need to be modules that implement the process method. # What handler to dispatch the message to is figured out from the subject of the message.