From: Xavier Noria Date: 2007-11-19T17:31:54+09:00 Subject: Re: Open-ended ranges? On Nov 19, 2007, at 3:10 AM, Konrad Meyer wrote: > irb(main):001:0> 0..(1.0/0) > => 0..Infinity That may work in practice. That is, if that's enough for the purposes of that Range fine. Nevertheless, both ends of a Ranges are expected to belong to the same class, and that class needs a #succ if you are going to iterate over the Range. In that case, Infinity should have a succ in that example. Sice it would be desirable (but not required AFAIK) that x < x.succ for all x, you end up with a copy of N appended after N, (or N**2, or ...). -- fxn