> 1.upto(pages.length) do |n|
>   puts n
> end

?
-- 
Posted via http://www.ruby-forum.com/.