Sha256: bc199eaff9bc35890ae04527d249fa822f7fbcaed94ce64b6f01c7e055e9108c

Contents?: true

Size: 403 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
dry-transaction-0.16.0 lib/dry/transaction/step_adapters/raw.rb
dry-transaction-0.15.0 lib/dry/transaction/step_adapters/raw.rb