# File lib/puppet/util/rails/cache_accumulator.rb, line 56 56: def install_accumulator(attribute) 57: self.accumulators[attribute] = Base.new(self, attribute) 58: module_eval %{ 59: def self.accumulate_by_#{attribute.to_s}(*keys) 60: accumulators[:#{attribute.to_s}].find(*keys) 61: end 62: } 63: end