rspec/rules/S2340/description.adoc

2 lines
185 B
Plaintext
Raw Normal View History

A `+Do ... Loop+` without a `+While+` or `+Until+` condition must be terminated by an unstructured `+Exit Do+` statement. It is safer and more readable to use structured loops instead.