Sha256: 87a70dffb390f56711708175882f2476a1b46ce69adbb1b0ec6dc23135544ab0

Contents?: true

Size: 953 Bytes

Versions: 86

Compression:

Stored size: 953 Bytes

Contents

# frozen_string_literal: true

require_relative '../function_evaluator'

module Checkoff
  module SelectorClasses
    module Task
      # Base class to evaluate a task selector function given fully evaluated arguments
      class FunctionEvaluator < ::Checkoff::SelectorClasses::FunctionEvaluator
        # @param selector [Array<(Symbol, Array)>,String]
        # @param tasks [Checkoff::Tasks]
        # @param timelines [Checkoff::Timelines]
        # @param custom_fields [Checkoff::CustomFields]
        def initialize(selector:,
                       tasks:,
                       timelines:,
                       custom_fields:,
                       **_kwargs)
          @selector = selector
          @tasks = tasks
          @timelines = timelines
          @custom_fields = custom_fields
          super()
        end

        private

        # @return [Array<(Symbol, Array)>]
        attr_reader :selector
      end
    end
  end
end

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
checkoff-0.181.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.180.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.179.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.178.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.177.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.176.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.175.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.174.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.173.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.172.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.171.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.170.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.169.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.168.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.167.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.166.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.165.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.164.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.163.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.162.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb