The permutation method, when called with a block yields a two dimensional array consisting of all ordered sequences of a collection of numbers.
If this method is called without a block, it will return an enumerator. To convert to an array, call the to_a method.
ExampleResult[1,2,3].permutation#<...