def &
array
&
other_array
Set Intersection—Returns a new array containing elements common to the two arrays, with no duplicates.
[
1
,
1
,
3
,
5
]
&
[
1
,
2
,
3
]
#=> [ 1, 3 ]
end
This is just a stub for a builtin Ruby method. See the top of this file for more info.
def foo
Stuff
The previous line should be a horizontal rule.
Stuff
The previous line should be a horizontal rule.