ruby-changes:52577
From: nobu <ko1@a...>
Date: Thu, 20 Sep 2018 12:18:59 +0900 (JST)
Subject: [ruby-changes:52577] nobu:r64789 (trunk): Link Array#union from | method
nobu 2018-09-20 12:18:54 +0900 (Thu, 20 Sep 2018) New Revision: 64789 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64789 Log: Link Array#union from | method `Array#uniq` is not really related with `Array#|`, so I replaced it by `Array#union`. [Fix GH-1747] [Feature #14097] From: Ana Mar?\195?\173a Mart?\195?\173nez G?\195?\179mez <ammartinez@s...> Modified files: trunk/array.c Index: array.c =================================================================== --- array.c (revision 64788) +++ array.c (revision 64789) @@ -4294,7 +4294,7 @@ rb_ary_union(VALUE ary_union, VALUE ary) https://github.com/ruby/ruby/blob/trunk/array.c#L4294 * [ "a", "b", "c" ] | [ "c", "d", "a" ] #=> [ "a", "b", "c", "d" ] * [ "c", "d", "a" ] | [ "a", "b", "c" ] #=> [ "c", "d", "a", "b" ] * - * See also Array#uniq. + * See also Array#union. */ static VALUE -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/