class Facter::Resolvers::Path

Private Class Methods

post_resolve(fact_name) click to toggle source
# File lib/facter/resolvers/path_resolver.rb, line 10
def post_resolve(fact_name)
  @fact_list.fetch(fact_name) { read_path_from_env }
end
read_path_from_env() click to toggle source
# File lib/facter/resolvers/path_resolver.rb, line 14
def read_path_from_env
  @fact_list[:path] = ENV['PATH']
end