rspec/rules/S1774/description.adoc
2021-01-27 13:42:22 +01:00

2 lines
191 B
Plaintext

While the ternary operator is pleasingly compact, its use can make code more difficult to read. It should therefore be avoided in favor of the more verbose ``++if++``/``++else++`` structure.