Module: Hackle::EvaluationFlow
- Included in:
- Decision, End, ExperimentFlow
- Defined in:
- lib/hackle/internal/evaluation/flow/evaluation_flow.rb
Defined Under Namespace
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.create(evaluators) ⇒ Hackle::EvaluationFlow
12 13 14 15 16 17 18 |
# File 'lib/hackle/internal/evaluation/flow/evaluation_flow.rb', line 12 def self.create(evaluators) flow = End.new evaluators.reverse_each do |evaluator| flow = Decision.new(evaluator, flow) end flow end |
Instance Method Details
#evaluate(request, context) ⇒ EvaluatorEvaluation?
8 |
# File 'lib/hackle/internal/evaluation/flow/evaluation_flow.rb', line 8 def evaluate(request, context) end |