Mega Code Archive

 
Categories / Ruby / Statement
 

Downto with block

100.downto(1) { |c| print c, " "; sleep 1 }