Sha256: c9fcdf42b416dfbf681c507132443c96adbc122c6e3b07baab8f1d72b220614c

Contents?: true

Size: 721 Bytes

Versions: 50

Compression:

Stored size: 721 Bytes

Contents

# frozen_string_literal: true

require_relative '../function_evaluator'

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

        private

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

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
checkoff-0.165.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.164.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.163.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.162.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.161.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.160.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.159.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.158.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.157.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.156.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.155.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.154.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.153.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.152.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.151.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.150.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.149.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.148.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.147.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.145.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb