How can I write a loop in Ruby that counts down, similar to the following C-style for loop?
for
for (i = 25; i >= 0; i--) { print i; }
Here's a simpler one:
(0..25).reverse_each { |i| print i }