Class: Hecks::Bluebook::ModelCheck::Finding
- Inherits:
-
Struct
- Object
- Struct
- Hecks::Bluebook::ModelCheck::Finding
- Defined in:
- lib/hecks/bluebook/model_check.rb
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#message ⇒ Object
Returns the value of attribute message.
-
#severity ⇒ Object
Returns the value of attribute severity.
-
#subject ⇒ Object
Returns the value of attribute subject.
Instance Method Summary collapse
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind
20 21 22 |
# File 'lib/hecks/bluebook/model_check.rb', line 20 def kind @kind end |
#message ⇒ Object
Returns the value of attribute message
20 21 22 |
# File 'lib/hecks/bluebook/model_check.rb', line 20 def @message end |
#severity ⇒ Object
Returns the value of attribute severity
20 21 22 |
# File 'lib/hecks/bluebook/model_check.rb', line 20 def severity @severity end |
#subject ⇒ Object
Returns the value of attribute subject
20 21 22 |
# File 'lib/hecks/bluebook/model_check.rb', line 20 def subject @subject end |
Instance Method Details
#to_s ⇒ Object
21 |
# File 'lib/hecks/bluebook/model_check.rb', line 21 def to_s = "#{severity.to_s.upcase.ljust(7)} #{kind.to_s.ljust(20)} #{subject} — #{}" |