From: 0x0dea+redmine@... Date: 2015-06-28T17:57:13+00:00 Subject: [ruby-core:69765] [Ruby trunk - Feature #11315] [PATCH] Add Array#^ for parity with other set-like operations. Issue #11315 has been updated by D.E. Akers. Tracker changed from Bug to Feature ---------------------------------------- Feature #11315: [PATCH] Add Array#^ for parity with other set-like operations. https://bugs.ruby-lang.org/issues/11315#change-53141 * Author: D.E. Akers * Status: Open * Priority: Normal * Assignee: ---------------------------------------- ## Proposal It is proposed that `Array` be given an "XOR" method which returns the symmetric difference between itself and another array. ## Rationale `#&` and `#|` need a friend to complete the set of set-like operations on `Array`. ---Files-------------------------------- array_xor.patch (2.69 KB) array_xor_vodka.patch (2.97 KB) array_xor_recycle_seen.patch (3 KB) -- https://bugs.ruby-lang.org/