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.119.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.118.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.117.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.116.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.115.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.114.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.113.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.112.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.111.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb
checkoff-0.110.0 lib/checkoff/internal/selector_classes/project/function_evaluator.rb