Sha256: 9672db8c48a01e1dc3935ad4863bf803cb70700524df8ac4b49a575b706e6fa5
Contents?: true
Size: 189 Bytes
Versions: 1
Compression:
Stored size: 189 Bytes
Contents
class Array # Returns an array containing elements exclusive between two arrays. # [1, 2, 3] ^ [1, 2, 4] # #=> [3, 4] def ^(other) (self | other) - (self & other) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shenanigans-1.0.4 | lib/shenanigans/array/caret.rb |