No one was able to answer ParagramStudios's question:

Ruby question here, I have N number of arrays and I want renturned the elements of the arrays that are common to all the arrays.

Example:

 firstArray = [1,2]

secondArray = [2,3]

result should be: 2

In this example I could just firstArray & secondArray, but what about situations where you don't know how many arrays this needs to be performed on?

A solution would be in the form of a method that takes and array of N number of arrays and returns an array of only the common elements.

People succeed in answering ParagramStudios's questions 26% of the time (9 successes in 34 attempts).