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

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



14
15
16
# File 'lib/ruby/rego/evaluator/rule_evaluator.rb', line 14

def body
  @body
end

#initial_bindingsObject

Returns the value of attribute initial_bindings

Returns:

  • (Object)

    the current value of initial_bindings



14
15
16
# File 'lib/ruby/rego/evaluator/rule_evaluator.rb', line 14

def initial_bindings
  @initial_bindings
end

#ruleObject

Returns the value of attribute rule

Returns:

  • (Object)

    the current value of rule



14
15
16
# File 'lib/ruby/rego/evaluator/rule_evaluator.rb', line 14

def rule
  @rule
end

#value_nodeObject

Returns the value of attribute value_node

Returns:

  • (Object)

    the current value of value_node



14
15
16
# File 'lib/ruby/rego/evaluator/rule_evaluator.rb', line 14

def value_node
  @value_node
end