Method: Controls::SecurityControlFinding#to_s
- Defined in:
- lib/controls/objects/security_control_finding.rb
#to_s ⇒ String
Returns a representation of the findings prefixed with the collection name.
11 12 13 |
# File 'lib/controls/objects/security_control_finding.rb', line 11 def to_s "#{name}: #{findings.map { |finding| "\n #{finding}" }.join}" end |