Sha256: b8179135db179a85a404e42bcbc0e695cbe321d806bab9bd56f40b18e6117880

Contents?: true

Size: 303 Bytes

Versions: 2

Compression:

Stored size: 303 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Macosx
    class ProcessorsCount
      FACT_NAME = 'processors.count'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facter-4.0.8.pre lib/facts/macosx/count.rb
facter-4.0.7.pre lib/facts/macosx/count.rb