Class: Reviewer::Doctor::Report::Finding

Inherits:
Struct
  • Object
show all
Defined in:
lib/reviewer/doctor/report.rb

Overview

A single diagnostic finding with status, message, and optional detail.

Instance Attribute Summary collapse

Instance Attribute Details

#detailString?

Returns optional detail or guidance text.

Returns:

  • (String, nil)

    optional detail or guidance text



14
# File 'lib/reviewer/doctor/report.rb', line 14

Finding = Struct.new(:status, :message, :detail, keyword_init: true)

#messageString

Returns the finding summary.

Returns:

  • (String)

    the finding summary



14
# File 'lib/reviewer/doctor/report.rb', line 14

Finding = Struct.new(:status, :message, :detail, keyword_init: true)

#statusSymbol

Returns the severity (:ok, :warning, :error, or :info).

Returns:

  • (Symbol)

    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)