1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

doc/keywords.rdoc: mention pattern matching in the in keyword section

This commit is contained in:
Yusuke Endoh 2020-12-24 17:14:48 +09:00
parent 1415653c84
commit 85f0179479

View file

@ -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