From: Austin Ziegler Date: 2007-02-21T02:52:23+09:00 Subject: Re: exit a block On 2/20/07, Jim Bob wrote: > Thanks for your help, sometimes best just to program an old fashion for > loop ;) ...except that: for a in b return a if a > 5 end ...is the same as: b.each { |a| return a if a > 5 } (Except in matters of scope.) -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca