Sha256: c34d25eed896fbadee4639833056466fecf31c42f6da81b1975e56f9b9fb416c

Contents?: true

Size: 325 Bytes

Versions: 3

Compression:

Stored size: 325 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Aix
    module Ruby
      class Platform
        FACT_NAME = 'ruby.platform'

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facter-4.0.11 lib/facts/aix/ruby/platform.rb
facter-4.0.10.pre lib/facts/aix/ruby/platform.rb
facter-4.0.9.pre lib/facts/aix/ruby/platform.rb