From: tenten Date: 2012-09-20T14:06:35+09:00 Subject: Re: the behavior of iterator methods > i is a local variable to the block. each() assigns each value in the > array to the variable i. Then you add 1 to i, then the block ends and > the variable i is destroyed. That has no effect on the original array. That's where I misunderstood. I don't know why, but I thought the 'i' vareable like a pointer of a pointer in C/C++. Maybe I was confused. Now I can understand what was wrong. Thank you very much.