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:
parent
1415653c84
commit
85f0179479
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue