# File cartesian_iterator.rb, line 22 def product!(other) @lists << other.to_a.dup @tot_iter *= @lists[-1].size self end