Method: Facter::Core::Aggregate#aggregate
- Defined in:
- lib/facter/custom_facts/core/aggregate.rb
#aggregate {|Hash<Symbol, Object>| ... } ⇒ Facter::Core::Aggregate
Define how all chunks should be combined
182 183 184 185 186 187 |
# File 'lib/facter/custom_facts/core/aggregate.rb', line 182 def aggregate(&block) raise ArgumentError, "#{self.class.name}#aggregate requires a block" unless block_given? @aggregate = block self end |