зеркало из https://github.com/github/ruby.git
[DOC] Fix typo
This commit is contained in:
Родитель
4ba9347554
Коммит
66e518f7b3
|
@ -502,7 +502,7 @@ it would not be treated as keywords:
|
|||
|
||||
If a method is called with keywords, but it is missing one
|
||||
mandatory positional argument, the keywords are converted to
|
||||
a hash and the hash used as the mandtory positional argument:
|
||||
a hash and the hash used as the mandatory positional argument:
|
||||
|
||||
def my_method(hash, **keywords)
|
||||
[hash, keywords]
|
||||
|
|
Загрузка…
Ссылка в новой задаче