Class: Odin::Validation::InvariantEvaluator::Result
- Inherits:
-
Struct
- Object
- Struct
- Odin::Validation::InvariantEvaluator::Result
- Defined in:
- lib/odin/validation/invariant_evaluator.rb
Overview
Result of evaluating an expression.
value: true/false when evaluable; nil when an operand is absent.
null_operand: true if any referenced field is present but null.
Instance Attribute Summary collapse
-
#null_operand ⇒ Object
Returns the value of attribute null_operand.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#null_operand ⇒ Object
Returns the value of attribute null_operand
48 49 50 |
# File 'lib/odin/validation/invariant_evaluator.rb', line 48 def null_operand @null_operand end |
#value ⇒ Object
Returns the value of attribute value
48 49 50 |
# File 'lib/odin/validation/invariant_evaluator.rb', line 48 def value @value end |