Sha256: 577182b5ce43fbc83138234b9370c0d4b00a0949f181416dca2406a74ba0e668
Contents?: true
Size: 498 Bytes
Versions: 30
Compression:
Stored size: 498 Bytes
Contents
module Nanoc::Int # @api private class ItemRepBuilder attr_reader :reps def initialize(site, action_provider, reps) @site = site @action_provider = action_provider @reps = reps end def run @site.items.each do |item| @action_provider.rep_names_for(item).each do |rep_name| @reps << Nanoc::Int::ItemRep.new(item, rep_name) end end Nanoc::Int::ItemRepRouter.new(@reps, @action_provider, @site).run end end end
Version data entries
30 entries across 30 versions & 1 rubygems