From: Brian Candler Date: 2011-04-22T06:26:21+09:00 Subject: Re: class_eval doesn't find const_missing If you add this code: class Object def self.const_missing(constant) return "this #{constant} found in obj!" end end Then you get the following: >> DummyClass.class_eval "NAME" => "dummy constant" >> DummyClass.class_eval {NAME} => "this NAME found in obj!" >> NAME => "this NAME found in obj!" Not sure if that helps you much, but it seems that class_eval doesn't affect the constant lookup in the way that you'd like. -- Posted via http://www.ruby-forum.com/.