Class: Guardrails::StimulusAudit::Result
- Inherits:
-
Struct
- Object
- Struct
- Guardrails::StimulusAudit::Result
- Defined in:
- lib/guardrails/stimulus_audit.rb
Instance Attribute Summary collapse
-
#dead ⇒ Object
Returns the value of attribute dead.
-
#orphaned ⇒ Object
Returns the value of attribute orphaned.
Instance Method Summary collapse
Instance Attribute Details
#dead ⇒ Object
Returns the value of attribute dead
7 8 9 |
# File 'lib/guardrails/stimulus_audit.rb', line 7 def dead @dead end |
#orphaned ⇒ Object
Returns the value of attribute orphaned
7 8 9 |
# File 'lib/guardrails/stimulus_audit.rb', line 7 def orphaned @orphaned end |
Instance Method Details
#violations? ⇒ Boolean
8 9 10 |
# File 'lib/guardrails/stimulus_audit.rb', line 8 def violations? !orphaned.empty? || !dead.empty? end |