Sha256: 93af136058290a506432026d71d00fca669d7ab90eec9af17db848f42eef073b
Contents?: true
Size: 399 Bytes
Versions: 8
Compression:
Stored size: 399 Bytes
Contents
# frozen_string_literal: true module Facter module Resolvers class Facterversion < BaseResolver @fact_list ||= {} class << self private def post_resolve(fact_name) @fact_list.fetch(fact_name) { read_version_file } end def read_version_file @fact_list[:facterversion] = Facter::VERSION end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems