summaryrefslogtreecommitdiff
path: root/doc/syntax/control_expressions.rdoc
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2023-12-26 17:32:38 -0500
committerPeter Zhu <[email protected]>2023-12-26 17:32:38 -0500
commitbe92bf4ff43b4ead774fadf5461db61a369bff6a (patch)
treea18006ab252b039fcb8485ef00e80adba5429e34 /doc/syntax/control_expressions.rdoc
parentfac253677604e5acc6a49b632355616b068d5a15 (diff)
[DOC] Fix == and === in control_expressions.rdoc
Diffstat (limited to 'doc/syntax/control_expressions.rdoc')
-rw-r--r--doc/syntax/control_expressions.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/control_expressions.rdoc b/doc/syntax/control_expressions.rdoc
index 5350585f15..9126289389 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 <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.