rspec/rules/S2340/description.adoc

2 lines
201 B
Plaintext
Raw Normal View History

2021-01-27 13:42:22 +01:00
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.