From: matz@... (Yukihiro Matsumoto) Date: 2003-02-14T12:03:59+09:00 Subject: Re: Lexical scope and closures Hi, In message "Re: Lexical scope and closures" on 03/02/14, Tom Sawyer writes: |more suitable would be the changes as you have already suggested plus the |addition of local keyword. ( i.e. arr.each local do ... end ) I'd choose something between arr.each {|i| local{|a,b| c = .. ... } } and arr.each {|i| let a = .. let b = .. c = .. ... } in either case, a, b are local, c is method-wise variable. matz.