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

ruby-changes:58003

From: Benoit <ko1@a...>
Date: Sun, 29 Sep 2019 18:05:29 +0900 (JST)
Subject: [ruby-changes:58003] ce477089f6 (master): [DOC] Fix typos in Array#{to_s, inspect} doc [ci skip]

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

From ce477089f690d3bedcaef088158b429db8a97d64 Mon Sep 17 00:00:00 2001
From: Benoit Daloze <eregontp@g...>
Date: Sun, 29 Sep 2019 11:04:28 +0200
Subject: [DOC] Fix typos in Array#{to_s,inspect} doc [ci skip]


diff --git a/array.c b/array.c
index 548dda6..c63bfb3 100644
--- a/array.c
+++ b/array.c
@@ -2443,7 +2443,7 @@ inspect_ary(VALUE ary, VALUE dummy, int recur) https://github.com/ruby/ruby/blob/trunk/array.c#L2443
  *     ary.to_s     -> string
  *
  *  Creates a string representation of +self+, by calling #inspect
- *  method on each elements.
+ *  on each element.
  *
  *     [ "a", "b", "c" ].to_s     #=> "[\"a\", \"b\", \"c\"]"
  */
-- 
cgit v0.10.2


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

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