Class: Reviewer::Doctor::Report::Finding
- Inherits:
-
Struct
- Object
- Struct
- Reviewer::Doctor::Report::Finding
- Defined in:
- lib/reviewer/doctor/report.rb
Overview
A single diagnostic finding with status, message, and optional detail.
Instance Attribute Summary collapse
-
#detail ⇒ String?
Optional detail or guidance text.
-
#message ⇒ String
The finding summary.
-
#status ⇒ Symbol
The severity (:ok, :warning, :error, or :info).
Instance Attribute Details
#detail ⇒ String?
Returns optional detail or guidance text.
14 |
# File 'lib/reviewer/doctor/report.rb', line 14 Finding = Struct.new(:status, :message, :detail, keyword_init: true) |
#message ⇒ String
Returns the finding summary.
14 |
# File 'lib/reviewer/doctor/report.rb', line 14 Finding = Struct.new(:status, :message, :detail, keyword_init: true) |
#status ⇒ Symbol
Returns the severity (:ok, :warning, :error, or :info).
14 |
# File 'lib/reviewer/doctor/report.rb', line 14 Finding = Struct.new(:status, :message, :detail, keyword_init: true) |