Sha256: 3442de2b318afbf08dd1f767573b45a666da9569559dcfdfe96e60a724970834
Contents?: true
Size: 325 Bytes
Versions: 2
Compression:
Stored size: 325 Bytes
Contents
# frozen_string_literal: true module Facter module Macosx class SystemProfilerCores FACT_NAME = 'system_profiler.cores' def call_the_resolver fact_value = Facter::Resolvers::SystemProfiler.resolve(:total_number_of_cores) 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/system_profiler/cores.rb |
facter-4.0.7.pre | lib/facts/macosx/system_profiler/cores.rb |