6a732ceb99
Deleting elements of an array while iterating on it results in never seeing the last element. > a = [1,2,3] => [1, 2, 3] > a.each do |e| > p a > a.delete(e) > end [1, 2, 3] [2, 3] => [2] |
||
---|---|---|
.. | ||
generator_fetcher.rb | ||
generator_generation.rb | ||
generator_processor.rb | ||
generator_tags.rb | ||
generator.rb |