From: Dave Thomas Date: 2000-10-16T17:07:21+09:00 Subject: [ruby-talk:5576] Re: local variables (nested, in-block, parameters, etc.) matz@zetabits.com (Yukihiro Matsumoto) writes: > For example: > > lambda{ ...} > # a,b,c as parameters. > # d, e, f for local variables valid during the block. Seems like the best of both worlds (except you'd probably need a character other than '|' as the separator, for the case where you want non-local parameters but local variables. lambda { ... } local params and local vars lambda { |a,b % c, d| ... } current params and local vars Regards Dave