# File lib/nanoc/extra/pruner.rb, line 62 def filename_excluded?(filename) pathname = Pathname.new(filename) @exclude.any? { |e| pathname.include_component?(e) } end