From: John Mair Date: 2010-10-31T13:00:28+09:00 Subject: Re: Constant lookup as-if toplevel Why not add a const_missing() to your Scope class and explicitly lookup the constant on Object there, which will fail, and so the error will be as if a top-level constant wasn't found. -- Posted via http://www.ruby-forum.com/.