From be92bf4ff43b4ead774fadf5461db61a369bff6a Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 26 Dec 2023 17:32:38 -0500 Subject: [PATCH] [DOC] Fix == and === in control_expressions.rdoc --- doc/syntax/control_expressions.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/syntax/control_expressions.rdoc b/doc/syntax/control_expressions.rdoc index 5350585f15e99b..9126289389e0b7 100644 --- a/doc/syntax/control_expressions.rdoc +++ b/doc/syntax/control_expressions.rdoc @@ -189,7 +189,7 @@ The same is true for +unless+. The +case+ expression can be used in two ways. The most common way is to compare an object against multiple patterns. The -patterns are matched using the +===+ method which is aliased to +==+ on +patterns are matched using the === method which is aliased to == on Object. Other classes must override it to give meaningful behavior. See Module#=== and Regexp#=== for examples.