Sha256: 0f9214158b43772331d7b347d13fd8532da469261a6aa6ed2cd2c5735d4e7048

Contents?: true

Size: 274 Bytes

Versions: 2

Compression:

Stored size: 274 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Sles
    class RubySitedir
      FACT_NAME = 'ruby.sitedir'

      def call_the_resolver
        fact_value = Resolvers::Ruby.resolve(:sitedir)
        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/sles/ruby/sitedir.rb
facter-4.0.7.pre lib/facts/sles/ruby/sitedir.rb