Sha256: b4da8effc0a11172669d8e36a38e97e6455a847d446257cfb2efc92e9a1c9713

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Macosx
    module Processors
      class Count
        FACT_NAME = 'processors.count'

        def call_the_resolver
          fact_value = Facter::Resolvers::Macosx::Processors.resolve(:logicalcount)
          Facter::ResolvedFact.new(FACT_NAME, fact_value)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facter-4.0.9.pre lib/facts/macosx/processors/count.rb