Class: RailsAiBridge::Doctor::Check
- Inherits:
-
Data
- Object
- Data
- RailsAiBridge::Doctor::Check
- Defined in:
- lib/rails_ai_bridge/doctor/check.rb
Overview
Immutable result row for a single diagnostic check.
Instance Attribute Summary collapse
-
#fix ⇒ String?
readonly
Suggested remediation when not
:pass. -
#message ⇒ String
readonly
Human-readable outcome.
-
#name ⇒ String
readonly
Short label shown in reports (e.g. "Schema").
-
#status ⇒ Symbol
readonly
:pass,:warn, or:fail.
Instance Attribute Details
#fix ⇒ String? (readonly)
Returns suggested remediation when not :pass.
15 |
# File 'lib/rails_ai_bridge/doctor/check.rb', line 15 Check = Data.define(:name, :status, :message, :fix) |
#message ⇒ String (readonly)
Returns human-readable outcome.
15 |
# File 'lib/rails_ai_bridge/doctor/check.rb', line 15 Check = Data.define(:name, :status, :message, :fix) |
#name ⇒ String (readonly)
Returns short label shown in reports (e.g. "Schema").
15 |
# File 'lib/rails_ai_bridge/doctor/check.rb', line 15 Check = Data.define(:name, :status, :message, :fix) |
#status ⇒ Symbol (readonly)
Returns :pass, :warn, or :fail.
15 |
# File 'lib/rails_ai_bridge/doctor/check.rb', line 15 Check = Data.define(:name, :status, :message, :fix) |