rspec/rules/S2178/compliant.adoc

7 lines
112 B
Plaintext
Raw Normal View History

2020-06-30 12:48:07 +02:00
== Compliant Solution
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
----