Module: Dry::Mutations::Extensions::Pipe

Defined in:
lib/dry/mutations/extensions/dummy.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#executeObject



11
12
13
14
15
16
17
# File 'lib/dry/mutations/extensions/dummy.rb', line 11

def execute
  case
  when respond_to?(:raw_inputs) then raw_inputs
  when instance_variable_defined?(:@raw_inputs) then instance_variable_get(:@raw_inputs)
  else inputs
  end
end