From a2c12d3ffeea99c957ee317fc613c7e0897a04f9 Mon Sep 17 00:00:00 2001
From: Sebastian Dufner <13749199+der-scheme@users.noreply.github.com>
Date: Mon, 10 Nov 2025 15:39:45 +0100
Subject: [PATCH] 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.
---
doc/syntax/methods.rdoc | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/syntax/methods.rdoc b/doc/syntax/methods.rdoc
index 8dafa6bb0c..14810a188f 100644
--- a/doc/syntax/methods.rdoc
+++ b/doc/syntax/methods.rdoc
@@ -100,6 +100,7 @@ operators.
/ :: divide
% :: modulus division, String#%
& :: AND
+| :: OR
^ :: XOR (exclusive OR)
>> :: right-shift
<< :: left-shift, append