Every:
Filter:
Classes (extension) | Libraries > crucial > Constraints

Every : AbstractConstraint : Object
ExtensionExtension

holds a list of Contraints, validates that the test object satisifes all of those
Subclasses: Any

Description

Given a list of contraints (or simple functions), the .value method will validate that the test object satisfies all of them. This is like chaining many (constraint and: constaint) together

Class Methods

Every.new(list)

Arguments:

list

Inherited class methods

Instance Methods

.list

.list = value

.value(obj)

Arguments:

obj

.add(constraint)

Arguments:

constraint

.reset

Inherited instance methods