Class: Facts::Aix::Processors::Speed
- Inherits:
-
Object
- Object
- Facts::Aix::Processors::Speed
- Defined in:
- lib/facter/facts/aix/processors/speed.rb
Constant Summary collapse
- FACT_NAME =
'processors.speed'
Instance Method Summary collapse
Instance Method Details
#call_the_resolver ⇒ Object
9 10 11 12 13 |
# File 'lib/facter/facts/aix/processors/speed.rb', line 9 def call_the_resolver fact_value = Facter::Resolvers::Aix::Processors.resolve(:speed) speed = Facter::Util::Facts::UnitConverter.hertz_to_human_readable(fact_value) Facter::ResolvedFact.new(FACT_NAME, speed) end |