class Facter::Resolvers::Ruby
Private Class Methods
post_resolve(fact_name)
click to toggle source
# File lib/facter/resolvers/ruby_resolver.rb, line 10 def post_resolve(fact_name) @fact_list.fetch(fact_name) { retrieve_ruby_information(fact_name) } end
retrieve_ruby_information(fact_name)
click to toggle source
# File lib/facter/resolvers/ruby_resolver.rb, line 14 def retrieve_ruby_information(fact_name) @fact_list[:sitedir] = RbConfig::CONFIG['sitelibdir'] @fact_list[:platform] = RUBY_PLATFORM @fact_list[:version] = RUBY_VERSION @fact_list[fact_name] end