Class: Hackle::EvaluatorEvaluation

Inherits:
Object
  • Object
show all
Defined in:
lib/hackle/internal/evaluation/evaluator/evaluator.rb

Direct Known Subclasses

ExperimentEvaluation, RemoteConfigEvaluation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reason:, target_evaluations:) ⇒ EvaluatorEvaluation

Returns a new instance of EvaluatorEvaluation.

Parameters:



52
53
54
55
# File 'lib/hackle/internal/evaluation/evaluator/evaluator.rb', line 52

def initialize(reason:, target_evaluations:)
  @reason = reason
  @target_evaluations = target_evaluations
end

Instance Attribute Details

#reasonString (readonly)

Returns:

  • (String)


45
46
47
# File 'lib/hackle/internal/evaluation/evaluator/evaluator.rb', line 45

def reason
  @reason
end

#target_evaluationsArray<EvaluatorEvaluation> (readonly)

Returns:



48
49
50
# File 'lib/hackle/internal/evaluation/evaluator/evaluator.rb', line 48

def target_evaluations
  @target_evaluations
end