Sha256: 009e7a3326c87a4348e691457eeda59c7445b6cb6cb646c2ac7cde94a2109558

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Solaris
    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

1 entries across 1 versions & 1 rubygems

Version Path
facter-4.0.9.pre lib/facts/solaris/ruby/platform.rb