From: Thomas Sawyer Date: 2012-02-26T01:06:57+09:00 Subject: [ruby-core:42924] [ruby-trunk - Bug #5690] Module#qualified_const_get Issue #5690 has been updated by Thomas Sawyer. @Xavier Let me "qualify" that ;-) I think your reasoning made very good sense for adding to ActiveSupport. But becoming part of Ruby, there is the opportunity to do it "right", as your last statement concurs. ---------------------------------------- Bug #5690: Module#qualified_const_get https://bugs.ruby-lang.org/issues/5690 Author: Yehuda Katz Status: Assigned Priority: Normal Assignee: Yukihiro Matsumoto Category: core Target version: 2.0.0 ruby -v: - 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://bugs.ruby-lang.org/