Module: Kernel

Defined in:
lib/dry/mutations/globals.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#Outcome(input) ⇒ Object



2
3
4
# File 'lib/dry/mutations/globals.rb', line 2

def Outcome input
  ::Dry::Mutations::Extensions.Outcome(input)
end

#Outcome!(input) ⇒ Object



6
7
8
# File 'lib/dry/mutations/globals.rb', line 6

def Outcome! input
  ::Dry::Mutations::Extensions.Outcome!(input)
end

#Schema(options = {}, &block) ⇒ Object



10
11
12
# File 'lib/dry/mutations/globals.rb', line 10

def Schema(options = {}, &block)
  ::Dry::Validation.Schema(::Dry::Mutations::DSL.Schema(), options, &block)
end