Mega Code Archive

 
Categories / Ruby / Statement
 

Until loops until a certain condition is met

x = 1 until x > 99   puts x   x = x * 2 end