Class: Facts::Macosx::Processors::Count
- Inherits:
-
Object
- Object
- Facts::Macosx::Processors::Count
- Defined in:
- lib/facter/facts/macosx/processors/count.rb
Constant Summary collapse
- FACT_NAME =
'processors.count'
- ALIASES =
'processorcount'
Instance Method Summary collapse
Instance Method Details
#call_the_resolver ⇒ Object
10 11 12 13 |
# File 'lib/facter/facts/macosx/processors/count.rb', line 10 def call_the_resolver fact_value = Facter::Resolvers::Macosx::Processors.resolve(:logicalcount) [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)] end |