From: Andrey Kulinich Date: 2003-07-01T17:34:06+09:00 Subject: inifinity recursion && test/unit Without test/unit ruby finished work and said that stack level too deep. Is this correct that in this code ruby goes to infinity recursion? ruby 1.8.0 (2003-06-06) [i386-freebsd4.7] --- #!/usr/local/bin/ruby require 'test/unit' module Recur def self.new Recur.new end end class Tests < Test::Unit::TestCase def test_1 Recur.new end end -- with best regards, Andrey Kulinich IT Group Software developer phone/fax +380 (372) 58-43-10 e-mail: Andrey.Kulinich@itgrp.net http://www.itgrp.net