Sha256: d432cdf367f0f4f54fc882617924920101ccdc7ba1cdf3b3af03d32ea5d64aa0

Contents?: true

Size: 352 Bytes

Versions: 77

Compression:

Stored size: 352 Bytes

Contents

# frozen_string_literal: true

# A composite loader that allows for more than one
# default directory loader

module LegacyFacter
  module Util
    class CompositeLoader
      def initialize(loaders)
        @loaders = loaders
      end

      def load(collection)
        @loaders.each { |loader| loader.load(collection) }
      end
    end
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
facter-4.2.10 lib/facter/custom_facts/util/composite_loader.rb
facter-4.2.9 lib/facter/custom_facts/util/composite_loader.rb
facter-4.2.8 lib/facter/custom_facts/util/composite_loader.rb
facter-4.2.7 lib/facter/custom_facts/util/composite_loader.rb
facter-4.2.6 lib/facter/custom_facts/util/composite_loader.rb
facter-4.2.5 lib/facter/custom_facts/util/composite_loader.rb
facter-4.2.4 lib/facter/custom_facts/util/composite_loader.rb
facter-4.2.3 lib/facter/custom_facts/util/composite_loader.rb
facter-4.2.2 lib/facter/custom_facts/util/composite_loader.rb
facter-4.2.1 lib/facter/custom_facts/util/composite_loader.rb
facter-4.2.0 lib/facter/custom_facts/util/composite_loader.rb
facter-4.1.1 lib/facter/custom_facts/util/composite_loader.rb
facter-4.1.0 lib/facter/custom_facts/util/composite_loader.rb
facter-4.0.52 lib/facter/custom_facts/util/composite_loader.rb
facter-4.0.51 lib/facter/custom_facts/util/composite_loader.rb
facter-4.0.50 lib/facter/custom_facts/util/composite_loader.rb
facter-4.0.49 lib/facter/custom_facts/util/composite_loader.rb
facter-4.0.48 lib/facter/custom_facts/util/composite_loader.rb
facter-4.0.47 lib/facter/custom_facts/util/composite_loader.rb
facter-4.0.46 lib/facter/custom_facts/util/composite_loader.rb