Sha256: beeb69378735c92524be28f41b2f050dfff715fcc03d12f5788ec24070bf1462

Contents?: true

Size: 280 Bytes

Versions: 2

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Macosx
    class RubyPlatform
      FACT_NAME = 'ruby.platform'

      def call_the_resolver
        fact_value = Resolvers::Ruby.resolve(:platform)

        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/ruby/platform.rb
facter-4.0.7.pre lib/facts/macosx/ruby/platform.rb