# File lib/brakeman/report/report_table.rb, line 185 def convert_to_rows warnings, type = :warning warnings.map do |warning| w = warning.to_row type case type when :warning convert_warning w, warning when :ignored convert_ignored_warning w, warning when :template convert_template_warning w, warning else convert_warning w, warning end end end