From: Yui NARUSE Date: 2011-11-30T12:13:42+09:00 Subject: [ruby-core:41405] [ruby-trunk - Bug #5690][Assigned] Module#qualified_const_get Issue #5690 has been updated by Yui NARUSE. Category set to core Status changed from Open to Assigned Assignee set to Yukihiro Matsumoto Target version set to 2.0.0 ---------------------------------------- Bug #5690: Module#qualified_const_get http://redmine.ruby-lang.org/issues/5690 Author: Yehuda Katz Status: Assigned Priority: Normal Assignee: Yukihiro Matsumoto Category: core Target version: 2.0.0 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