rspec/rules/S2178/compliant.adoc

7 lines
113 B
Plaintext
Raw Permalink Normal View History

=== Compliant solution
2020-06-30 12:48:07 +02:00
2022-02-04 17:28:24 +01:00
[source,text]
2020-06-30 12:48:07 +02:00
----
if(getTrue() || getFalse()) { ... } // true short-circuit logic
----