Sha256: e7df7cf60729f56d98c14671a4d2a4f4b4da05b902eb24d8604aed66a4c9da91
Contents?: true
Size: 223 Bytes
Versions: 5
Compression:
Stored size: 223 Bytes
Contents
module Dry module Logic class Rule::Each < Rule def call(input) Logic.Result(input, input.map { |element| predicate.(element) }, self) end def type :each end end end end
Version data entries
5 entries across 5 versions & 1 rubygems