Sha256: e66511a9949914db2d0ebb78ee94bd35c6c71deeb69998a3137331b51bc4a427
Contents?: true
Size: 337 Bytes
Versions: 2
Compression:
Stored size: 337 Bytes
Contents
# frozen_string_literal: true require "dry/matcher/result_matcher" module Dry module Transaction module Operation def self.included(klass) klass.class_eval do include Dry::Monads[:result] include Dry::Matcher.for(:call, with: Dry::Matcher::ResultMatcher) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dry-transaction-0.16.0 | lib/dry/transaction/operation.rb |
dry-transaction-0.15.0 | lib/dry/transaction/operation.rb |