From: Dave Thomas Date: 2002-02-26T10:20:41+09:00 Subject: Re: Rescue clause syntax weirdness.... "Paul E.C. Melis" writes: > def good_method > for f in [ 1, 2, 3 ] > pass rescue true this rescue clause is a statement modifer, handling exceptions in the 'pass' statement. > end > end > > def bad_method > for f in [ 1, 2, 3 ] > pass > rescue true this one isn't. It's a normal rescue, so it needs a begin/end, or it needs to be at the outer level in a method. Cheers Dave