# File lib/brakeman/scanner.rb, line 300 def track_progress list, type = "files" total = list.length current = 0 list.each do |item| report_progress current, total, type current += 1 yield item end end