diff options
Diffstat (limited to 'doc/syntax/methods.rdoc')
-rw-r--r-- | doc/syntax/methods.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/methods.rdoc b/doc/syntax/methods.rdoc index 55feecc0c2..924e31611f 100644 --- a/doc/syntax/methods.rdoc +++ b/doc/syntax/methods.rdoc @@ -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] |