From: "Earlopain (Earlopain _) via ruby-core" Date: 2026-08-16T14:03:53+00:00 Subject: [ruby-core:126413] [Ruby Misc#14768] Add documentation for || and && Issue #14768 has been updated by Earlopain (Earlopain _). Status changed from Open to Closed Today it's documented under https://docs.ruby-lang.org/en/4.0/syntax/operators_rdoc.html ---------------------------------------- Misc #14768: Add documentation for || and && https://bugs.ruby-lang.org/issues/14768#change-118555 * Author: sos4nt (Stefan Sch����ler) * Status: Closed ---------------------------------------- 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/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/