Module: Dry::Validation::Predicates

Extended by:
PredicateSet
Defined in:
lib/dry/validation/predicates.rb

Class Method Summary collapse

Methods included from PredicateSet

extended

Class Method Details

.included(other) ⇒ Object



8
9
10
11
12
# File 'lib/dry/validation/predicates.rb', line 8

def self.included(other)
  super
  other.extend(PredicateSet)
  other.import(self)
end