# File lib/brakeman/warning.rb, line 235 def to_s output = "(#{TEXT_CONFIDENCE[self.confidence]}) #{self.warning_type} - #{self.message}" output << " near line #{self.line}" if self.line output << " in #{self.file}" if self.file output << ": #{self.format_code}" if self.code output end