Class: RulesView
- Inherits:
-
Object
- Object
- RulesView
- Defined in:
- lib/cfn-nag/result_view/rules_view.rb
Overview
View rules warnings/failings
Instance Method Summary collapse
Instance Method Details
#emit(rule_registry, profile) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/cfn-nag/result_view/rules_view.rb', line 3 def emit(rule_registry, profile) puts 'WARNING VIOLATIONS:' emit_warnings rule_registry.warnings, profile puts puts 'FAILING VIOLATIONS:' emit_failings rule_registry.failings, profile end |