зеркало из https://github.com/github/ruby.git
Adjusted the heading level of "Block Arguments" [ci skip]
This commit is contained in:
Родитель
a01d28fed7
Коммит
aaf0474e76
|
@ -540,7 +540,7 @@ as the keyword arguments:
|
|||
my_method(a: 1, 'a' => 2) # [{"a"=>2}, 1]
|
||||
my_method({a: 1, 'a' => 2}) # [{"a"=>2}, 1]
|
||||
|
||||
== Block Argument
|
||||
=== Block Argument
|
||||
|
||||
The block argument is indicated by <code>&</code> and must come last:
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче