Method: Pipeline::Finding#to_string
- Defined in:
- lib/pipeline/finding.rb
#to_string ⇒ Object
23 24 25 26 27 28 29 30 31 32 |
# File 'lib/pipeline/finding.rb', line 23 def to_string s = "Finding: #{@appname}" s << "\n\tDescription: #{@description}" s << "\n\tTimestamp: #{@timestamp}" s << "\n\tSource: #{@stringsrc}" s << "\n\tSeverity: #{@severity}" s << "\n\tFingerprint: #{@fingerprint}" s << "\n\tDetail: #{@detail}" s end |