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.161.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.160.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.159.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.158.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.157.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.156.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.155.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.154.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.153.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.152.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.151.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.150.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.149.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.148.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.147.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.145.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.139.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.138.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.137.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb
checkoff-0.136.0 lib/checkoff/internal/selector_classes/task/function_evaluator.rb