From: Yehuda Katz Date: 2011-11-30T12:10:02+09:00 Subject: [ruby-core:41404] [ruby-trunk - Bug #5690][Open] Module#qualified_const_get Issue #5690 has been reported by Yehuda Katz. ---------------------------------------- Bug #5690: Module#qualified_const_get http://redmine.ruby-lang.org/issues/5690 Author: Yehuda Katz Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0] It would be great if there was a way to dynamically load a constant path: module Foo module Bar module Baz end end end Foo.qualified_const_get("Bar::Baz") => Foo::Bar::Baz -- http://redmine.ruby-lang.org