`site_files.each` does seem a bit better.

Naming things is *hard*


On Tue, Jul 9, 2013 at 1:30 PM, Parker Moore <notifications@github.com>wrote:

> In lib/jekyll/site.rb:
>
> > @@ -255,15 +240,7 @@ def cleanup
> >
> >        # files to be written
> >        files = Set.new
> > -      self.posts.each do |post|
> > -        files << post.destination(self.dest)
> > -      end
> > -      self.pages.each do |page|
> > -        files << page.destination(self.dest)
> > -      end
> > -      self.static_files.each do |sf|
> > -        files << sf.destination(self.dest)
> > -      end
> > +      each_file { |item| files << item.destination(self.dest) }
>
> site_files.each?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mojombo/jekyll/pull/1144/files#r5097673>
> .
>