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.
This commit is contained in:
Stefan Schüßler 2019-02-18 12:44:01 +01:00 коммит произвёл GitHub
Родитель bef0c0a367
Коммит e19e5d2409
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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 <code>other_ary</code>s with +self+,
* excluding any duplicates and preserving the order from the given arrays.