# File lib/puppet/provider/confine/variable.rb, line 11 11: def self.summarize(confines) 12: result = Hash.new { |hash, key| hash[key] = [] } 13: confines.inject(result) { |total, confine| total[confine.name] += confine.values unless confine.valid?; total } 14: end