From e19e5d2409e99ef7fd450d317e71e119cb5a4c3a Mon Sep 17 00:00:00 2001 From: Stefan Schüßler Date: Mon, 18 Feb 2019 12:44:01 +0100 Subject: Fix return value name in docs for Array#union Throughout the docs, `new_ary` is used to indicate a new array, whereas `ary` refers to the receiver. --- array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'array.c') diff --git a/array.c b/array.c index d096347c43..395a6c1854 100644 --- a/array.c +++ b/array.c @@ -4683,7 +4683,7 @@ rb_ary_or(VALUE ary1, VALUE ary2) /* * call-seq: - * ary.union(other_ary1, other_ary2, ...) -> ary + * ary.union(other_ary1, other_ary2, ...) -> new_ary * * Set Union --- Returns a new array by joining other_arys with +self+, * excluding any duplicates and preserving the order from the given arrays. -- cgit v1.2.3