Class: Ruby::Rego::Evaluator::RuleEvaluator::ValueEvaluationContext

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby/rego/evaluator/rule_evaluator.rb

Overview

Bundles value evaluation parameters for else/default handling.

Instance Attribute Summary collapse

Instance Attribute Details

#body ⇒ Object

Returns the value of attribute body

Returns:

  • (Object) —

    the current value of body



12
13
14
# File 'lib/ruby/rego/evaluator/rule_evaluator.rb', line 12

def body
  @body
end

#initial_bindings ⇒ Object

Returns the value of attribute initial_bindings

Returns:

  • (Object) —

    the current value of initial_bindings



12
13
14
# File 'lib/ruby/rego/evaluator/rule_evaluator.rb', line 12

def initial_bindings
  @initial_bindings
end

#rule ⇒ Object

Returns the value of attribute rule

Returns:

  • (Object) —

    the current value of rule



12
13
14
# File 'lib/ruby/rego/evaluator/rule_evaluator.rb', line 12

def rule
  @rule
end

#value_node ⇒ Object

Returns the value of attribute value_node

Returns:

  • (Object) —

    the current value of value_node



12
13
14
# File 'lib/ruby/rego/evaluator/rule_evaluator.rb', line 12

def value_node
  @value_node
end