-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dispatcher is subject to change in RES 3.0
There will be no more possibility to pass a class to be instantiated. Anything responding to a call will be a valid handler. If you need old behavior define class method: ``` class Handler def self.call(*) new.call(*) end def call(*) end end ``` Therefore the rspec tests are adjusted to the future design requirements Co-authored-by: Szymon Fiedler <[email protected]> Co-authored-by: Paweł Pacana <[email protected]>
- Loading branch information
1 parent
77b7338
commit fdc18d5
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters