Sha256: 80ce958ae21218a436ab30cc34e53e6eabbb03a3c006e22452de06ab8d5a5945

Contents?: true

Size: 698 Bytes

Versions: 106

Compression:

Stored size: 698 Bytes

Contents

# frozen_string_literal: true

require_relative '../function_evaluator'

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

        private

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

Version data entries

106 entries across 106 versions & 1 rubygems

Version Path
checkoff-0.222.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.221.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.220.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.219.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.218.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.217.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.216.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.215.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.214.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.213.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.212.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.211.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.210.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.209.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.208.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.207.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.206.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.205.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.204.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb
checkoff-0.203.0 lib/checkoff/internal/selector_classes/common/function_evaluator.rb