Sha256: fc69433fb9f2be6c9f382dad8ab91991e9afd09be3797e8baea3b4645bc199ea

Contents?: true

Size: 260 Bytes

Versions: 28

Compression:

Stored size: 260 Bytes

Contents

# frozen_string_literal: true

module Facter
  class CoreFact
    def initialize(searched_fact)
      @searched_fact = searched_fact
    end

    def create
      fact_class = @searched_fact.fact_class

      fact_class.new.call_the_resolver
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
facter-4.0.35 lib/facter/framework/core/fact/internal/core_fact.rb
facter-4.0.34 lib/facter/framework/core/fact/internal/core_fact.rb
facter-4.0.33 lib/facter/framework/core/fact/internal/core_fact.rb
facter-4.0.32 lib/facter/framework/core/fact/internal/core_fact.rb
facter-4.0.31 lib/facter/framework/core/fact/internal/core_fact.rb
facter-4.0.30 lib/facter/framework/core/fact/internal/core_fact.rb
facter-4.0.29 lib/framework/core/fact/internal/core_fact.rb
facter-4.0.28 lib/framework/core/fact/internal/core_fact.rb
facter-4.0.26 lib/framework/core/fact/internal/core_fact.rb
facter-4.0.25 lib/framework/core/fact/internal/core_fact.rb
facter-4.0.24 lib/framework/core/fact/internal/core_fact.rb
facter-4.0.23 lib/framework/core/fact/internal/core_fact.rb
facter-4.0.22 lib/framework/core/fact/internal/core_fact.rb
facter-4.0.21 lib/framework/core/fact/internal/core_fact.rb
facter-4.0.20 lib/framework/core/fact/internal/core_fact.rb
facter-4.0.19 lib/framework/core/fact/internal/core_fact.rb
facter-4.0.18 lib/framework/core/fact/internal/core_fact.rb
facter-4.0.17 lib/framework/core/fact/internal/core_fact.rb
facter-4.0.16 lib/framework/core/fact/internal/core_fact.rb
facter-4.0.15 lib/framework/core/fact/internal/core_fact.rb