Issue #5690 has been updated by tenderlovemaking (Aaron Patterson).

File p2c.diff added

I've written a patch this this feature, and I've attached it here.  Will someone review so that we can figure out what needs to change before it's applied?  Thank you.
----------------------------------------
Feature #5690: Module#qualified_const_get
https://bugs.ruby-lang.org/issues/5690#change-31447

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/