# File lib/merb-slices/module_mixin.rb, line 494 def unpack_file?(file) @mirror_exceptions_regexp ||= begin skip_paths = (mirrored_public_components + [:stub]).map { |type| dir_for(type).relative_path_from(self.root) } skip_paths += config[:skip_files] if config[:skip_files].is_a?(Array) Regexp.new("^(#{skip_paths.join('|')})") end not file.match(@mirror_exceptions_regexp) end