From: "Dmitry V. Sabanin" Date: 2004-07-31T11:17:02+09:00 Subject: Re: defined? in ruby-1.9 On Friday 30 July 2004 20:31, Mark Sparshatt wrote: > I supposed the rational is that by running > > defined?(Test::Unit) > > You are checking if the Test class/module contains a constant Unit. If > Test doesn't exist then Ruby can't check this, so it throws a NameError. Now I see, thanks for explanation. -- sdmitry -=- Dmitry V. Sabanin MuraveyLabs. Spam Here -> postmaster@sco.com