I asked Why is `return a or b` a void value expression error in Ruby?, and it was marked as a duplicate of Difference between "or" and || in Ruby?. However, the duplicate does not answer my question. In fact, the question still stands if I remove all reference to the ||
operator (see here).
Why was it closed as a duplicate?
return a or b
is common confusing case. Note that "duplicate" does not mean you asked bad question, just that answer is the same.