Class: Dry::Mutations::Extensions::Either::Matcher

Inherits:
Object
  • Object
show all
Defined in:
lib/dry/mutations/extensions/outcome.rb

Overview

:nodoc:

Class Method Summary collapse

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