10.downto(5) { …code to loop here… } : Code Block Method Ruby



10.downto(5) { puts "Test" }