lib/facts/aix/ruby/sitedir.rb in facter-4.0.8.pre vs lib/facts/aix/ruby/sitedir.rb in facter-4.0.9.pre
- old
+ new
@@ -1,14 +1,16 @@
# frozen_string_literal: true
-module Facter
+module Facts
module Aix
- class RubySitedir
- FACT_NAME = 'ruby.sitedir'
+ module Ruby
+ class Sitedir
+ FACT_NAME = 'ruby.sitedir'
- def call_the_resolver
- fact_value = Resolvers::Ruby.resolve(:sitedir)
- ResolvedFact.new(FACT_NAME, fact_value)
+ def call_the_resolver
+ fact_value = Facter::Resolvers::Ruby.resolve(:sitedir)
+ Facter::ResolvedFact.new(FACT_NAME, fact_value)
+ end
end
end
end
end