class Facter::Resolvers::Path

Private Class Methods

post_resolve(fact_name, _options) click to toggle 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
read_path_from_env() click to toggle source
# File lib/facter/resolvers/path.rb, line 15
def read_path_from_env
  @fact_list[:path] = ENV['PATH']
end