[DOC] Fix == and === in control_expressions.rdoc

This commit is contained in:
Peter Zhu 2023-12-26 17:32:38 -05:00
parent fac2536776
commit be92bf4ff4

View File

@ -189,7 +189,7 @@ The same is true for +unless+.
The +case+ expression can be used in two ways. The +case+ expression can be used in two ways.
The most common way is to compare an object against multiple patterns. The 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 <tt>===</tt> method which is aliased to <tt>==</tt> on
Object. Other classes must override it to give meaningful behavior. See Object. Other classes must override it to give meaningful behavior. See
Module#=== and Regexp#=== for examples. Module#=== and Regexp#=== for examples.