Class: Checkoff::SelectorClasses::Task::FunctionEvaluator

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

Overview

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

Instance Method Summary collapse

Methods inherited from FunctionEvaluator

#evaluate, #evaluate_arg?, #matches?

Constructor Details

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

Returns a new instance of FunctionEvaluator.

Parameters:



14
15
16
17
18
19
20
21
22
23
24
# File 'lib/checkoff/internal/selector_classes/task/function_evaluator.rb', line 14

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