Class: Guardrails::Report::Summary::Entry
- Inherits:
-
Struct
- Object
- Struct
- Guardrails::Report::Summary::Entry
- Defined in:
- lib/guardrails/report/summary.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#auto_fix ⇒ Object
Returns the value of attribute auto_fix.
-
#category ⇒ Object
Returns the value of attribute category.
-
#count ⇒ Object
Returns the value of attribute count.
-
#severity ⇒ Object
Returns the value of attribute severity.
-
#unit ⇒ Object
‘unit` is the noun shown after the count: “findings”, “candidates”, “groups”, “clusters” — each detector picks what reads naturally.
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action
21 22 23 |
# File 'lib/guardrails/report/summary.rb', line 21 def action @action end |
#auto_fix ⇒ Object
Returns the value of attribute auto_fix
21 22 23 |
# File 'lib/guardrails/report/summary.rb', line 21 def auto_fix @auto_fix end |
#category ⇒ Object
Returns the value of attribute category
21 22 23 |
# File 'lib/guardrails/report/summary.rb', line 21 def category @category end |
#count ⇒ Object
Returns the value of attribute count
21 22 23 |
# File 'lib/guardrails/report/summary.rb', line 21 def count @count end |
#severity ⇒ Object
Returns the value of attribute severity
21 22 23 |
# File 'lib/guardrails/report/summary.rb', line 21 def severity @severity end |
#unit ⇒ Object
‘unit` is the noun shown after the count: “findings”, “candidates”, “groups”, “clusters” — each detector picks what reads naturally. Defaults to “findings”.
26 27 28 |
# File 'lib/guardrails/report/summary.rb', line 26 def unit @unit end |