Mega Code Archive

 
Categories / Ruby / Statement
 

Downto method with integer

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