v0.8.1
0.8.1 / 2019-08-13
Added
Dry::Matcher#for
is a shortcut forDry::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