Sha256: aa196296132e4c99563503e114e0fb8908fdd6fb56d694c741209d484f182801

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Macosx
    class SystemProfilerModelName
      FACT_NAME = 'system_profiler.model_name'

      def call_the_resolver
        fact_value = Facter::Resolvers::SystemProfiler.resolve(:model_name)
        ResolvedFact.new(FACT_NAME, fact_value)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facter-4.0.8.pre lib/facts/macosx/system_profiler/model_name.rb
facter-4.0.7.pre lib/facts/macosx/system_profiler/model_name.rb