mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Fix typo
This commit is contained in:
parent
4ba9347554
commit
66e518f7b3
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue