Flowdock
&(p1) public

<a href="/ruby/Set">Set</a> Intersection&#8212;Returns a new array containing elements common to the two arrays, with no duplicates.

   [ 1, 1, 3, 5 ] & [ 1, 2, 3 ]   #=> [ 1, 3 ]
Show source
Register or log in to add new notes.