ruby-changes:71322
From: Rogerio <ko1@a...>
Date: Fri, 4 Mar 2022 03:18:54 +0900 (JST)
Subject: [ruby-changes:71322] 832252794e (master): Doc: fix documentation typo for Array#min
https://git.ruby-lang.org/ruby.git/commit/?id=832252794e From 832252794eb3f9506a224d9368fb3f013558842a Mon Sep 17 00:00:00 2001 From: Rogerio Bordignon <rogerio.bordignon@r...> Date: Thu, 3 Mar 2022 12:18:21 -0300 Subject: Doc: fix documentation typo for Array#min --- array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/array.c b/array.c index ee3a4f2557..11ae67ead3 100644 --- a/array.c +++ b/array.c @@ -8110,7 +8110,7 @@ rb_ary_deconstruct(VALUE ary) https://github.com/ruby/ruby/blob/trunk/array.c#L8110 * #last:: Returns one or more trailing elements. * #max:: Returns one or more maximum-valued elements, * as determined by <tt><=></tt> or a given block. - * #max:: Returns one or more minimum-valued elements, + * #min:: Returns one or more minimum-valued elements, * as determined by <tt><=></tt> or a given block. * #minmax:: Returns the minimum-valued and maximum-valued elements, * as determined by <tt><=></tt> or a given block. -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/