Class | Facter::Util::Collection |
In: |
lib/facter/util/collection.rb
|
Parent: | Object |
Manage which facts exist and how we access them. Largely just a wrapper around a hash of facts.
@api private
Add a resolution mechanism for a named fact. This does not distinguish between adding a new fact and adding a new way to resolve a fact.
@param name [Symbol] The name of the fact to define @param options [Hash] A hash of options to set on the fact and resolution
@return [Facter::Util::Fact] The fact that was defined