From: "Kent S." Date: 2004-05-08T02:15:38+09:00 Subject: Re: class_missing ? Try this: $ irb irb(main):001:0> defined? AClass => nil irb(main):002:0> class AClass; end => nil irb(main):003:0> defined? AClass => "constant" irb(main):004:0> Cheers, Kent. On May 7, 2004, at 12:58 PM, Elias Athanasopoulos wrote: > Hello! > > Is there something similar to method_missing for classes? > > I.e. overload a method of Object or handle an exception > when a 'Foo.new' is called and class Foo does not exist. > > Regards, > -- > University of Athens I bet the human brain > Physics Department is a kludge --Marvin Minsky > > >