Skip to content

Commit

Permalink
[DOC] Fix == and === in control_expressions.rdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhu2118 committed Dec 26, 2023
1 parent fac2536 commit be92bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/syntax/control_expressions.rdoc
Expand Up @@ -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 <tt>===</tt> method which is aliased to <tt>==</tt> on
Object. Other classes must override it to give meaningful behavior. See
Module#=== and Regexp#=== for examples.

Expand Down

0 comments on commit be92bf4

Please sign in to comment.