Class: LaunchDarkly::Impl::EvaluatorState
- Inherits:
-
Object
- Object
- LaunchDarkly::Impl::EvaluatorState
- Defined in:
- lib/ldclient-rb/impl/evaluator.rb
Overview
Instance Attribute Summary collapse
- #prereq_stack ⇒ Object readonly
- #segment_stack ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(original_flag) ⇒ EvaluatorState
constructor
A new instance of EvaluatorState.
Constructor Details
#initialize(original_flag) ⇒ EvaluatorState
Returns a new instance of EvaluatorState.
32 33 34 35 |
# File 'lib/ldclient-rb/impl/evaluator.rb', line 32 def initialize(original_flag) @prereq_stack = EvaluatorStack.new(original_flag.key) @segment_stack = EvaluatorStack.new(nil) end |
Instance Attribute Details
#prereq_stack ⇒ Object (readonly)
37 38 39 |
# File 'lib/ldclient-rb/impl/evaluator.rb', line 37 def prereq_stack @prereq_stack end |
#segment_stack ⇒ Object (readonly)
38 39 40 |
# File 'lib/ldclient-rb/impl/evaluator.rb', line 38 def segment_stack @segment_stack end |