Skip to content

Commit a2c12d3

Browse files
der-schemehsbt
authored andcommitted
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.
1 parent 3e926cd commit a2c12d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/syntax/methods.rdoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ operators.
100100
<code>/</code> :: divide
101101
<code>%</code> :: modulus division, String#%
102102
<code>&</code> :: AND
103+
<code>|</code> :: OR
103104
<code>^</code> :: XOR (exclusive OR)
104105
<code>>></code> :: right-shift
105106
<code><<</code> :: left-shift, append

0 commit comments

Comments
 (0)