Issue #5690 has been updated by Nobuyoshi Nakada.

Description updated

----------------------------------------
Feature #5690: Module#qualified_const_get
https://bugs.ruby-lang.org/issues/5690#change-58324

* Author: Yehuda Katz
* Status: Closed
* Priority: Normal
* Assignee: Aaron Patterson
----------------------------------------
It would be great if there was a way to dynamically load a constant path:

```ruby
module Foo
  module Bar
    module Baz
    end
  end
end

Foo.qualified_const_get("Bar::Baz") => Foo::Bar::Baz
```

---Files--------------------------------
noname (500 Bytes)
bug5690.pdf (615 KB)
noname (500 Bytes)
p2c.diff (4.86 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>