From: "T. Sawyer" Date: 2004-08-20T05:25:39+09:00 Subject: Obtaining object in const_missing I'm stumped. Is there any way to do this? class Object def self.const_missing(name) p self # => X # Okay, but how do I get at object x? x = ? if x.respond_to?(:myconstant) return "Gotchya" else raise # proper error? end end end class X def myconstant puts NewConstant end end x = X.new x.myconstant Thanks, T.