Sha256: b36c42e9510ab358ab1ffb6016bed61be2c977851843fe69ebe08d864412bbd2

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Macosx
    module SystemProfiler
      class BootVolume
        FACT_NAME = 'system_profiler.boot_volume'

        def call_the_resolver
          fact_value = Facter::Resolvers::SystemProfiler.resolve(:boot_volume)
          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/boot_volume.rb