Class: Odin::Validation::InvariantEvaluator::Compare

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

Instance Attribute Summary collapse

Instance Attribute Details

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



38
39
40
# File 'lib/odin/validation/invariant_evaluator.rb', line 38

def left
  @left
end

#opObject

Returns the value of attribute op

Returns:

  • (Object)

    the current value of op



38
39
40
# File 'lib/odin/validation/invariant_evaluator.rb', line 38

def op
  @op
end

#rightObject

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



38
39
40
# File 'lib/odin/validation/invariant_evaluator.rb', line 38

def right
  @right
end