On 2/20/07, Jim Bob <james_b / anytimenow.com> 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