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

Xor : AbstractConstraint : Object
ExtensionExtension

given two constraint objects, validates that the test object is true for one or the other but not both

Description

Class Methods

Xor.new(a, b)

Arguments:

a
b

Inherited class methods

Instance Methods

.a

.a = value

.b

.b = value

.value(obj)

Arguments:

obj

.reset

Inherited instance methods