should one always use .each when looping? or are there cases where an old
for(...) loop are better?
On 8/2/06, Brandon Aaron
<brandon.aaron-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> Use the following:
>
> throw $break;
>
>
>
> On 8/2/06, Fernando
<fernando-YZKC1iyWIStfJ/NunPodnw@public.gmane.org> wrote:
> >
> > have a way to break a loop usign .each ?
> > _______________________________________________
> > Rails-spinoffs mailing list
> > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> >
>
>
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
>
>
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs