class Facter::Resolvers::Path
Private Class Methods
Source
# File lib/facter/resolvers/path.rb, line 11 def post_resolve(fact_name, _options) @fact_list.fetch(fact_name) { read_path_from_env } end
Source
# File lib/facter/resolvers/path.rb, line 15 def read_path_from_env @fact_list[:path] = ENV['PATH'] end