From: Pit Capitain Date: 2008-11-20T17:48:18+09:00 Subject: Re: Error message, hide class name 2008/11/19 Trans : > But I still don't understand where the error message was getting > the class name. Tom, the so-called class path seems to be buried deep inside unaccessible instance variables of the class. For a workaround use a "#" as the first character of the inspect result: class X def inspect "#hey" end end X.new.x # => undefined method `x' for #hey (NoMethodError) Regards, Pit