[前][次][番号順一覧][スレッド一覧]

ruby-changes:59450

From: Marcus <ko1@a...>
Date: Tue, 24 Dec 2019 21:13:13 +0900 (JST)
Subject: [ruby-changes:59450] 66e518f7b3 (master): [DOC] Fix typo

https://git.ruby-lang.org/ruby.git/commit/?id=66e518f7b3

From 66e518f7b3e0bf307f86a51e6db02c3d1ec8df84 Mon Sep 17 00:00:00 2001
From: Marcus Stollsteimer <sto.mar@w...>
Date: Tue, 24 Dec 2019 13:01:24 +0100
Subject: [DOC] Fix typo


diff --git a/doc/syntax/methods.rdoc b/doc/syntax/methods.rdoc
index 55feecc..924e316 100644
--- a/doc/syntax/methods.rdoc
+++ b/doc/syntax/methods.rdoc
@@ -502,7 +502,7 @@ it would not be treated as keywords: https://github.com/ruby/ruby/blob/trunk/doc/syntax/methods.rdoc#L502
 
 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]
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]