How to create decremental for loop in ruby

Hi all,

I want to know the simplest way to create a decremental for loop in
ruby. Can anybody help me? please.

With best regards
Sitam

···

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

$ ri19 Fixnum#downto

Cheers

robert

···

On Thu, Nov 24, 2011 at 2:37 PM, Sitam J. <worldofsitam@gmail.com> wrote:

I want to know the simplest way to create a decremental for loop in
ruby. Can anybody help me? please.

--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/