From: Yukihiro Matsumoto Date: 2008-09-24T16:27:41+09:00 Subject: [ruby-core:18843] Re: miniunit added Hi, In message "Re: [ruby-core:18840] Re: miniunit added" on Wed, 24 Sep 2008 14:35:08 +0900, Tanaka Akira writes: |In article , | Yukihiro Matsumoto writes: | |> I am very interested in how one can make recursive range where range |> objects are basically immutable. | |% limit stacksize 500k |% ./ruby -ve ' | class CyclicRange < Range | def <=>(other); true; end | end | o = CyclicRange.allocate | o.instance_eval { initialize(o, o) } | p o |' I know it's possible with artificial programs like above, but what I was interested in was how realistic application like miniunit made it. matz.