From: Daniel Sheppard Date: 2007-03-20T10:19:40+09:00 Subject: Re: C(++) For Loop Equivalents > What is the most efficient way in Ruby to create a conditional loop in > Ruby that looks like this in C(++): > > for(int i=0; i*j/2 { > //cool method stuff > } In the general case, you can 'while' anywhere where you'd normally 'for' i=0 while i*j/2