Sha256: d6fd84c8236e4575a16db8f84b54e62ebc3245d56a08793d6f1cb15dc3f9e6e4
Contents?: true
Size: 432 Bytes
Versions: 6
Compression:
Stored size: 432 Bytes
Contents
require 'dry/validation/predicate' module Dry module Validation module PredicateSet module Methods def predicate(name, &block) register(name) { Predicate.new(name, &block) } end def import(predicate_set) merge(predicate_set) end end def self.extended(other) super other.extend(Methods, Dry::Container::Mixin) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems