From: Love U Ruby Date: 2013-03-11T19:17:14+09:00 Subject: Re: Confusion with block local variable declaration with block variable declaration within the pipe Hans Mackowiak wrote in post #1101051: > because this variables are reseted back to nil, every time the block is > run, and an "init" would not make sense Yes! You are right. I know the importance of such declaration of local variables inside the block. Tell me the difference between |x,y| and |x;y=0| ? Hope answer to this question will make sense to me. > and before you can ask: this parameters are NOT useless because they can > shadow other local variables from outside the block without overriding > them -- Posted via http://www.ruby-forum.com/.