Sha256: 0ce49c8c67453a086855cd65c0204feaa31daf7ea29116ef1d1bd66e16bb3a7a

Contents?: true

Size: 329 Bytes

Versions: 39

Compression:

Stored size: 329 Bytes

Contents

# frozen_string_literal: true

module Facter
  class LoadedFact
    attr_reader :name, :klass, :type
    attr_accessor :file, :is_env

    def initialize(name, klass, type = nil, file = nil)
      @name = name
      @klass = klass
      @type = type.nil? ? :core : type
      @file = file
      @is_env = false
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
facter-4.10.0 lib/facter/models/loaded_fact.rb
facter-4.9.0 lib/facter/models/loaded_fact.rb
facter-4.8.0 lib/facter/models/loaded_fact.rb
facter-4.7.1 lib/facter/models/loaded_fact.rb
facter-4.7.0 lib/facter/models/loaded_fact.rb
facter-4.6.1 lib/facter/models/loaded_fact.rb
facter-4.6.0 lib/facter/models/loaded_fact.rb
facter-4.5.2 lib/facter/models/loaded_fact.rb
facter-4.5.1 lib/facter/models/loaded_fact.rb
facter-4.5.0 lib/facter/models/loaded_fact.rb
facter-4.4.3 lib/facter/models/loaded_fact.rb
facter-4.4.2 lib/facter/models/loaded_fact.rb
facter-4.4.1 lib/facter/models/loaded_fact.rb
facter-4.4.0 lib/facter/models/loaded_fact.rb
facter-4.3.1 lib/facter/models/loaded_fact.rb
facter-4.3.0 lib/facter/models/loaded_fact.rb
facter-4.2.14 lib/facter/models/loaded_fact.rb
facter-4.2.13 lib/facter/models/loaded_fact.rb
facter-4.2.12 lib/facter/models/loaded_fact.rb
facter-4.2.11 lib/facter/models/loaded_fact.rb