From: Trans Date: 2005-10-14T05:46:53+09:00 Subject: Re: Default argument values for blocks >This one was proposed long ago as a way to declare a var whose scope is > outside the block: > > lambda { puts foo } All sorts of things can work, one that looks quite nice: lambda { foo = 1|2 -> puts foo } But I would suggest that everyone give the -> () {} notation chance. I really hated it at first too, but it has grown on me and I am starting to like it even more then goal posts b/c of the way it brings the parameters outside of the block. T.