Issue #14768 has been reported by sos4nt (Stefan Schler).

----------------------------------------
Misc #14768: Add documentation for || and &&
https://bugs.ruby-lang.org/issues/14768

* Author: sos4nt (Stefan Schler)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
The Ruby documentation doesn't seem to cover `||` and `&&`.

The only references I could find are:

http://ruby-doc.org/core-2.5.1/doc/keywords_rdoc.html
> **and**   Short-circuit Boolean and with lower precedence than `&&`
> **or**   Short-circuit Boolean and with lower precedence than `||`

http://ruby-doc.org/core-2.5.1/doc/syntax/assignment_rdoc.html
> There are also `||=` and `&&=`. The former makes an assignment if ...

But there's no documentation for the operators themselves.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>