mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 12:14:51 +00:00
Documentation: Added the |(pipe)/OR operator to syntax/methods.
It was not documented as an operator that can be overriden, which is confusing because it makes you think it can't be.
This commit is contained in:
parent
3e926cd5dd
commit
a2c12d3ffe
Notes:
git
2025-11-27 06:48:36 +00:00
@ -100,6 +100,7 @@ operators.
|
||||
<code>/</code> :: divide
|
||||
<code>%</code> :: modulus division, String#%
|
||||
<code>&</code> :: AND
|
||||
<code>|</code> :: OR
|
||||
<code>^</code> :: XOR (exclusive OR)
|
||||
<code>>></code> :: right-shift
|
||||
<code><<</code> :: left-shift, append
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user