Method: Facter::Core::Aggregate#initialize

Defined in:
lib/facter/custom_facts/core/aggregate.rb

#initialize(name, fact) ⇒ Facter::Util::Resolution

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Create a new aggregated resolution mechanism.

Since:

  • 2.0.0



72
73
74
75
76
77
78
79
80
81
# File 'lib/facter/custom_facts/core/aggregate.rb', line 72

def initialize(name, fact)
  @name = name
  @fact = fact

  @confines = []
  @chunks = {}

  @aggregate = nil
  @deps = LegacyFacter::Core::DirectedGraph.new
end