Skip to content

v0.8.1

Compare
Choose a tag to compare
@flash-gordon flash-gordon released this 13 Aug 08:30
v0.8.1
ef12099

0.8.1 / 2019-08-13

Added

  • Dry::Matcher#for is a shortcut for Dry::Matcher.for(..., with: matcher) (flash-gordon)
    require 'dry/matcher/result_matcher'
    
    class CreateUser
      include Dry::Matcher::ResultMatcher.for(:call)
      
      def call(...)
        # code returning an instance of Dry::Monads::Result
      end
    end

Compare v0.8.0...v0.8.1