From: Garance A Drosehn Date: 2007-02-10T08:23:23+09:00 Subject: Re: Jumping to "the next one" in something#each ------=_Part_18723_23162836.1171063401363 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 2/9/07, Garance A Drosehn wrote: > > > Besides, I wanted something which works for *any* routine which > takes a code-block, not just objects of type Array. How could you > make that work for the each_pair method of Hash objects? > > I was thinking there should be some "big-picture" solution possible, > one which would work for all methods which take a code-block > parameter. That is probably too complicated a goal, but at least a > solution which would work for some large subset of those methods. I should also say that I am not looking for a quick-fix for some specific script that I am writing. This is more of a "blue-sky" topic, where I am thinking that maybe some future version of ruby could introduce a new feature for these situations. I think the kind of solution that I'm looking for would require a change to ruby itself. However, I also realize that I may have missed some features which are already in ruby, and which already do exactly what I want. -- Garance Alistair Drosehn = drosihn@gmail.com Senior Systems Programmer Rensselaer Polytechnic Institute; Troy, NY; USA ------=_Part_18723_23162836.1171063401363--