diff options
author | Stefan Schüßler <mail@stefanschuessler.de> | 2019-02-18 12:44:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-18 12:44:01 +0100 |
commit | e19e5d2409e99ef7fd450d317e71e119cb5a4c3a (patch) | |
tree | 4374a799cb986f89caf5882b3c87b6a5a1b24857 /array.c | |
parent | bef0c0a3678d07ce40f147051fba092ee30da640 (diff) |
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.
Notes
Notes:
Merge branch patch-5 of https://github.com/sos4nt/ruby into trunk
[Fix GH-2084]
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |