From: matz@... (Yukihiro Matsumoto) Date: 2001-09-04T17:16:25+09:00 Subject: [ruby-talk:20845] Re: modify hash during iteration Hi, In message "[ruby-talk:20844] Re: modify hash during iteration" on 01/09/04, Yukihiro Matsumoto writes: |It's OK to change the associated value to the existing key. In case |you add new key during hash iteration, it may or may not appear in the |iteration. But it shouldn't crash anyway. I should have mentioned adding new key during iteration may cause an exception, as Guy Decoux explained in [ruby-talk:20844]. matz.