From: "Jan E." Date: 2012-08-07T23:17:41+09:00 Subject: Re: Nesting and constants Hi, Module.nesting lists all modules that *lexically* surround the method call. So it only takes into account the modules that are actually present in the form of module ... module ... ... end end If a parent module is only mentioned in the name, it's ignored. -- Posted via http://www.ruby-forum.com/.