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


Aaron, your slide is received.  Thank you.

marcandre (Marc-Andre Lafortune) wrote:
> +1 from me, but modifying existing `const_get`.

I'll add it verbally during the presentation, if I recall.

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

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/