Sha256: 16e8c81059d8edde240a6876874710f288c11b41021368f584096656b7b81b11
Contents?: true
Size: 483 Bytes
Versions: 1
Compression:
Stored size: 483 Bytes
Contents
# frozen_string_literal: true module Facts module Macosx module Memory module System class Available FACT_NAME = 'memory.system.available' def call_the_resolver fact_value = Facter::Resolvers::Macosx::SystemMemory.resolve(:available_bytes) fact_value = Facter::BytesToHumanReadable.convert(fact_value) Facter::ResolvedFact.new(FACT_NAME, fact_value) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facter-4.0.9.pre | lib/facts/macosx/memory/system/available.rb |