From: MonkeeSage Date: 2006-09-13T14:40:38+09:00 Subject: Re: Struggling with Blocks Rick DeNatale wrote: > You CAN have a block which contains a single statement with a rescue > modifier: > > lambda do > raise "help!" rescue "gotcha" > end > > is legal as is the semantically equivalent: > > lambda {raise "help!" rescue "gotcha"} > > but > > lambda do > raise "help!" > rescue > "gotcha" > end > > is not. > > Perhaps someone else (Matz?) can enlighten me/us on why I sure can't enlighten you, but I can comment: that is wierd! I must admit that I didn't believe you at first, but I tried it, and sure enough...you are correct. What the?! Wierd!! Regards, Jordan