Ruby's nice and compact too:
(1..100).each do
puts "Ruby"
end (1..100).each do
puts "Ruby"
end 100.times { puts "Ruby" }
Not that there's anything wrong with your approach, but I just like the way that my code reads almost like English.(Counting only the loop-related characters, leaving out whitespace.)
Unless anyone has a shorter way of doing something one hundred times?