Class Array
In: lib/quiz1/t/solutions/Carlos/solitaire.rb
lib/quiz1/t/solutions/Moses Hohman/util.rb
lib/quiz1/t/solutions/Florian Gross/solitaire.rb
Parent: Object

Methods

Public Instance methods

syntactic sugar for Cipher

Moves the item from a specified index to just before the item with the specified index.

"Peels" off a tuple of the elements at each successive index across multiple arrays. Assumes self is an array of these multiple arrays. Stops when any of the arrays is exhausted. I stole this from a ruby mailing list somewhere. I also considered calling this each_tuple

[Validate]