[Ironruby-core] [patch] downto/upto

John Messerly jomes at microsoft.com
Fri Jan 18 20:01:23 EST 2008

Jb Evain:

> In the process of running one of my script on IronRuby I needed upto,
> so here it is, along with his downto friend.
> I was wondering if I could simply call Step with the relevant limit
> and step from upto/downto, but wasn't sure that was correct.
> I've basically monkey saw, monkey did the whole thing, please correct
> me if I got some parts wrong.

Looks good. I think you're right about Step though. I'll try replacing the methods with direct calls to Step and see if it works.

- John

More information about the Ironruby-core mailing list