class HTMLProofer::Runner

def ignore_file?(file)

def ignore_file?(file)
  @options[:ignore_files].each do |pattern|
    if pattern.is_a?(String) && pattern == file
      @logger.log(:debug, "Ignoring #{file} because it matches #{pattern}")
      return true
    end
    next unless pattern.is_a?(Regexp) && pattern.match(file)
    @logger.log(:debug, "Ignoring #{file} because it matches regexp #{pattern}")
    return true
  end
  false
end