summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorRogerio Bordignon <rogerio.bordignon@rebase.com.br>2022-03-03 12:18:21 -0300
committerJean Boussier <jean.boussier@gmail.com>2022-03-03 19:18:36 +0100
commit832252794eb3f9506a224d9368fb3f013558842a (patch)
tree5549caf06cfcb8677348a3898d8f76ce669c7250 /array.c
parent3b21818db1fac0c22f16364eab2d8cc0067abd63 (diff)
Doc: fix documentation typo for Array#min
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5621
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
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)
* #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.