Sha256: b0381b3eedf58ba2b933db432dab76f99b4254f4126d0949ca1cd9de81a8a3ea

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Macosx
    module SystemProfiler
      class SmcVersion
        FACT_NAME = 'system_profiler.smc_version'

        def call_the_resolver
          fact_value = Facter::Resolvers::SystemProfiler.resolve(:smc_version_system)
          Facter::ResolvedFact.new(FACT_NAME, fact_value)
        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/system_profiler/smc_version.rb