# File lib/nanoc/extra/checking/checks/stale.rb, line 6 def run require 'set' item_rep_paths = Set.new(@site.items.map { |i| i.reps }.flatten.map { |r| r.raw_path }) output_filenames.each do |f| next if pruner.filename_excluded?(f) if !item_rep_paths.include?(f) add_issue( 'file without matching item', :subject => f) end end end
Generated with the Darkfish Rdoc Generator 2.