aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Stollsteimer <sto.mar@web.de>2019-12-24 13:01:24 +0100
committerMarcus Stollsteimer <sto.mar@web.de>2019-12-24 13:01:24 +0100
commit66e518f7b3e0bf307f86a51e6db02c3d1ec8df84 (patch)
treee758b856c42509431929d16a36c0f2f3106e4681
parent4ba9347554ab1ac79fdaf1d5b3320776a2b10615 (diff)
downloadruby-66e518f7b3e0bf307f86a51e6db02c3d1ec8df84.tar.gz
[DOC] Fix typo
-rw-r--r--doc/syntax/methods.rdoc2
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]