From: "RadosÅ‚aw BuÅ‚at" Date: 2008-01-18T03:57:34+09:00 Subject: Re: lambda block doesn't work with upto iterator > 5.times &proc2 is the same as > 5.times(&proc2) > 0.upto(4) &proc1 change to > 0.upto(4, &proc1) It should works. I guess that "0.upto(4) &proc1" is parsed by Ruby like bitwise and with left operand "0.upto(4)" and right operand "proc1". -- Rados³aw Bu³at http://radarek.jogger.pl - mój blog