From 85f01794795521e29e64e06ead416cbd3d52c55c Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Thu, 24 Dec 2020 17:14:48 +0900 Subject: [PATCH] doc/keywords.rdoc: mention pattern matching in the `in` keyword section --- doc/keywords.rdoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/keywords.rdoc b/doc/keywords.rdoc index a74126823d..bfd0bec8da 100644 --- a/doc/keywords.rdoc +++ b/doc/keywords.rdoc @@ -82,6 +82,8 @@ if:: in:: Used to separate the iterable object and iterator variable in a +for+ loop. See {control expressions}[rdoc-ref:syntax/control_expressions.rdoc] + It also serves as a pattern in a +case+ expression. See + See {pattern matching}[rdoc-ref:syntax/pattern_matching.rdoc] module:: Creates or opens a module. See {modules and classes