class Facts::Macosx::Memory::Swap::TotalBytes

Constants

ALIASES
FACT_NAME

Public Instance Methods

call_the_resolver() click to toggle source
# File lib/facter/facts/macosx/memory/swap/total_bytes.rb, line 10
def call_the_resolver
  fact_value = Facter::Resolvers::Macosx::SwapMemory.resolve(:total_bytes)
  [Facter::ResolvedFact.new(FACT_NAME, fact_value),
   Facter::ResolvedFact.new(ALIASES, Facter::FactsUtils::UnitConverter.bytes_to_mb(fact_value), :legacy)]
end