Issue #5690 has been updated by trans (Thomas Sawyer).


I agree with marcandre. Why bother with an additional (and long named) method, when current method can suffice?
----------------------------------------
Bug #5690: Module#qualified_const_get
https://bugs.ruby-lang.org/issues/5690#change-27607

Author: wycats (Yehuda Katz)
Status: Assigned
Priority: Normal
Assignee: matz (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/