From: Thomas Sawyer Date: 2012-02-25T19:02:00+09:00 Subject: [ruby-core:42915] [ruby-trunk - Bug #5690] Module#qualified_const_get Issue #5690 has been updated by Thomas Sawyer. Please, can we avoid the use such abstract name. Is the speed hit too great that Ruby's can't just use `#const_get` for this as well? I suspect the Rail's method name was chosen simply to avoid a monkey patch. Of course, in Facets the method is just called `#constant`. Heaven forbid we use the obvious name ;-) ---------------------------------------- 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/