From: Gregory Brown Date: 2012-03-19T17:07:40+09:00 Subject: Re: why no decreasing enumerations? On 3/19/12 7:28 AM, Ryan Davis wrote: > > On Mar 18, 2012, at 22:09 , Jan E. wrote: > >> class Integer >> >> def to limit,&block >> if self<= limit >> upto limit,&block >> else >> downto limit,&block >> end >> end >> >> end >> >> 10.to 1 do |i| >> puts i >> end >> #### >> >> I wonder why *that* isn't already in Ruby. ;-) > > Have you proposed it to ruby-core@? This is a feature I've implemented several times myself as well and would seem to be useful to have in core. Ryan, what is the recommended way of making these proposals? Just post a message to the ruby-core mailing list? Open a ticket? Do we still have some sort of RCRchive? It's been a while since I've asked for something in Ruby :) -greg