rubyhackchallenge
rubyhackchallenge copied to clipboard
Array#overlap?(array)
Semantically equivalent to (array1 & array2).any? but doesn't create an intermediate array & can return as soon as one element in common is found
https://github.com/ruby/ruby/pull/2260