Class: Dry::Mutations::Extensions::Either::Matcher
- Inherits:
-
Object
- Object
- Dry::Mutations::Extensions::Either::Matcher
- Defined in:
- lib/dry/mutations/extensions/outcome.rb
Overview
:nodoc:
Class Method Summary collapse
-
.! ⇒ Object
Build the matcher.
Class Method Details
.! ⇒ Object
Build the matcher
36 37 38 |
# File 'lib/dry/mutations/extensions/outcome.rb', line 36 def self.! Dry::Matcher.new(success: SUCCESS, failure: FAILURE) end |