module VirtualTime::ArrayHelper
Defined in:
virtualtime.crClass Method Summary
-
.expand(list)
Expands ranges and other expandable types into a long list of all possible options.
Class Method Detail
def self.expand(list)
#
Expands ranges and other expandable types into a long list of all possible options. E.g. [1, 2..3, 4..5] gets expanded into [[1, 2, 4], [1,2, 5], [1,3,4], [1,3,5]]. Used only for convenience in tests.