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(input_processor: nil, **options, &block) ⇒ Object



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

def Schema(input_processor: nil, **options, &block)
  ::Dry::Mutations.Schema(input_processor: input_processor, **options, &block)
end