rspec/rules/S2178/compliant.adoc

7 lines
113 B
Plaintext

=== Compliant solution
[source,text]
----
if(getTrue() || getFalse()) { ... } // true short-circuit logic
----