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.201.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.200.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.199.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.198.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.197.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.196.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.195.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.194.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.193.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.192.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.191.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.190.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.189.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.188.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.187.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.186.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.185.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.184.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.183.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.182.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb