Add documentation for || and &&
The Ruby documentation doesn't seem to cover
The only references I could find are:
and – Short-circuit Boolean and with lower precedence than
or – Short-circuit Boolean and with lower precedence than
There are also
&&=. The former makes an assignment if ...
But there's no documentation for the operators themselves.
Updated by shevegen (Robert A. Heiler) over 4 years ago
Adding more documentation/references is always good IMO, so
+1 on the issue. Perhaps even adding a new page called
operators.html (or something like that) may be useful in
the long run.
There is an old SO question:
Having this included in the official ruby docs would be
useful to newcomers, I think.