Sha256: 011b3fa41a69d2206dd847a23a3a5c0246ee1ed3b5cacb48539e0e2e198c8dd2
Contents?: true
Size: 462 Bytes
Versions: 10
Compression:
Stored size: 462 Bytes
Contents
# frozen_string_literal: true module Facts module Macosx module Memory module Swap class Used FACT_NAME = 'memory.swap.used' def call_the_resolver fact_value = Facter::Resolvers::Macosx::SwapMemory.resolve(:used_bytes) fact_value = Facter::BytesToHumanReadable.convert(fact_value) Facter::ResolvedFact.new(FACT_NAME, fact_value) end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems