rspec/rules/S1479/ruby/rule.adoc

2 lines
202 B
Plaintext
Raw Normal View History

2020-12-23 14:59:06 +01:00
When ``case`` statements have a large number of clauses, it is usually an attempt to map two sets of data. A real ``Hash`` structure would be more readable and maintainable, and should be used instead.