Sha256: 7f5363795420888fbe1da89912cc33a18bad7206a194bbc753561161b665f73c
Contents?: true
Size: 426 Bytes
Versions: 10
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true module Facts module Linux module Processors class Speed FACT_NAME = 'processors.speed' def call_the_resolver fact_value = Facter::Resolvers::Linux::Processors.resolve(:speed) speed = Facter::FactsUtils::UnitConverter.hertz_to_human_readable(fact_value) Facter::ResolvedFact.new(FACT_NAME, speed) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems