Module: CaseGen::RuleDescription
- Included in:
- ExcludeRule, Output
- Defined in:
- lib/case_gen/rule_description.rb
Instance Method Summary collapse
Instance Method Details
#rule_description(rule) ⇒ Object
5 6 7 8 9 |
# File 'lib/case_gen/rule_description.rb', line 5 def rule_description(rule) keys = %i[description note reason] key = (rule.keys & keys).first rule[key] end |