Class: YES::Constraints::TreeConstraint

Inherits:
AbstractConstraint show all
Defined in:
lib/yes/constraints/tree_constraint.rb

Overview

The TreeValidation class is an abstract class and used for create validation subclasses than needs access to the complete list of matching nodes.

Direct Known Subclasses

Count, Exclusive, Inclusive, Required

Instance Attribute Summary

Attributes inherited from AbstractConstraint

#nodes, #spec, #tree

Method Summary

Methods inherited from AbstractConstraint

#applicable?, applicable?, checklist, inherited, #initialize, #match_delta, #recurse_valid?, #valid?, #validate

Constructor Details

This class inherits a constructor from YES::Constraints::AbstractConstraint