Sha256: 9aabd68119ba9f09214ccf7a5452c05ef885afe5a1040f1fb19cecd930910716

Contents?: true

Size: 403 Bytes

Versions: 4

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

require 'dry/monads/result'
require 'dry/transaction/errors'
require 'dry/transaction/step_adapters/around'

module Dry
  module Transaction
    class StepAdapters
      # @api private
      class Raw < Around
        def call(operation, options, args)
          super(operation, options, args, &nil)
        end
      end

      register :step, Raw.new
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dry-transaction-0.14.0 lib/dry/transaction/step_adapters/raw.rb
dry-transaction-0.13.3 lib/dry/transaction/step_adapters/raw.rb
dry-transaction-0.13.2 lib/dry/transaction/step_adapters/raw.rb
dry-transaction-0.13.1 lib/dry/transaction/step_adapters/raw.rb