Class: Odin::Validation::InvariantEvaluator::Num

Inherits:
Struct
  • Object
show all
Defined in:
lib/odin/validation/invariant_evaluator.rb

Overview

AST nodes. Each carries its operator/value; document values bind at eval time.

Instance Attribute Summary collapse

Instance Attribute Details

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



31
32
33
# File 'lib/odin/validation/invariant_evaluator.rb', line 31

def value
  @value
end