class Spruz::Generator

def initialize(enums)

Enumerable in the core ruby library).
as dimensions. The should all respond to the :each method (see module
Create a new Generator instance. Use the objects in the Array _enums_
def initialize(enums)
  @enums, @iterators, @n = [], [], 0
  enums.each { |e| add_dimension(e) }
end