Issue #5690 has been updated by mame (Yusuke Endoh).

Assignee changed from matz (Yukihiro Matsumoto) to tenderlovemaking (Aaron Patterson)

Yehuda Katz and Aaron Patterson,

I'm happy to inform you that matz has accepted your proposal,
as one to extend existing `const_get' (not `qualified_const_get').


Aaron, could you implement a patch?

-- 
Yusuke Endoh <mame / tsg.ne.jp>
----------------------------------------
Feature #5690: Module#qualified_const_get
https://bugs.ruby-lang.org/issues/5690#change-28306

Author: wycats (Yehuda Katz)
Status: Assigned
Priority: Normal
Assignee: tenderlovemaking (Aaron Patterson)
Category: core
Target version: 2.0.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://bugs.ruby-lang.org/