Class: DailyFocus::GroundingCheck::Finding
- Inherits:
-
Data
- Object
- Data
- DailyFocus::GroundingCheck::Finding
- Defined in:
- app/services/daily_focus/grounding_check.rb
Overview
A finding the manager sees on the review row.
Instance Attribute Summary collapse
-
#detail ⇒ Object
readonly
Returns the value of attribute detail.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#reference ⇒ Object
readonly
Returns the value of attribute reference.
Instance Method Summary collapse
-
#fatal? ⇒ Boolean
Whether this finding is fabrication rather than degradation.
- #to_s ⇒ String
Instance Attribute Details
#detail ⇒ Object (readonly)
Returns the value of attribute detail
110 111 112 |
# File 'app/services/daily_focus/grounding_check.rb', line 110 def detail @detail end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
110 111 112 |
# File 'app/services/daily_focus/grounding_check.rb', line 110 def kind @kind end |
#reference ⇒ Object (readonly)
Returns the value of attribute reference
110 111 112 |
# File 'app/services/daily_focus/grounding_check.rb', line 110 def reference @reference end |
Instance Method Details
#fatal? ⇒ Boolean
Returns whether this finding is fabrication rather than degradation.
115 |
# File 'app/services/daily_focus/grounding_check.rb', line 115 def fatal? = FATAL_KINDS.include?(kind) |
#to_s ⇒ String
112 |
# File 'app/services/daily_focus/grounding_check.rb', line 112 def to_s = "#{reference} — #{detail}" |