Sha256: 8a514ca28f00e92aa60078628ccaaeee36455c3526b002ca2ea47333db1bae9e

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Macosx
    module Identity
      class User
        FACT_NAME = 'identity.user'

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