Class: Checkoff::SelectorClasses::Common::FunctionEvaluator

Inherits:
FunctionEvaluator show all
Defined in:
lib/checkoff/internal/selector_classes/common/function_evaluator.rb

Overview

Base class to evaluate a project selector function given fully evaluated arguments

Instance Method Summary collapse

Methods inherited from FunctionEvaluator

#evaluate, #evaluate_arg?, #matches?

Constructor Details

#initialize(selector:, custom_fields:, **_kwargs) ⇒ FunctionEvaluator

Returns a new instance of FunctionEvaluator.

Parameters:



12
13
14
15
16
# File 'lib/checkoff/internal/selector_classes/common/function_evaluator.rb', line 12

def initialize(selector:, custom_fields:, **_kwargs)
  @selector = selector
  @custom_fields = custom_fields
  super()
end