From: ts Date: 2004-08-07T23:41:19+09:00 Subject: Re: const_defined? raises NameError ? >>>>> "M" == =?ISO-8859-2?Q?Marcin Miel=BFy=F1ski?= writes: M> Thanks for Your answer, but I think the first question is still open M> since the Const is given as a String and the const_defined? M> raises an error. const_defined? is a method of Module, not Kernel svg% ruby -e 'p Object.const_defined?("Array")' true svg% svg% ruby -e 'p Object.const_defined?("Arr")' false svg% Guy Decoux