From: Tanaka Akira Date: 2008-02-14T05:41:12+09:00 Subject: Re: An Masgn of 1 In article <245fb4700802131107t1219b70aof4cdbb64eecd68df@mail.gmail.com>, "Yehuda Katz" writes: > It seems like this is happening because the |x,| syntax is getting errantly > parsed as an masgn, and treated as such as a block, but somehow treated as > an lasgn in the standlone lambda case. Am I misunderstanding something? The difference is caused by lambda {} in Ruby 1.9. (Ruby 1.8 is something different.) There is Proc#lambda? to check it. -- Tanaka Akira