1ec72afe32
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] |
||
---|---|---|
.. | ||
github_changelog_generator | ||
CHANGELOG.md | ||
github_changelog_generator.rb |