From: Yukihiro Matsumoto Date: 2011-11-30T15:04:58+09:00 Subject: [ruby-core:41406] Re: [ruby-trunk - Bug #5690][Open] Module#qualified_const_get Hi, In message "Re: [ruby-core:41404] [ruby-trunk - Bug #5690][Open] Module#qualified_const_get" on Wed, 30 Nov 2011 12:10:02 +0900, Yehuda Katz writes: |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 Interesting. * is there any use-case for this method? * if Bar is not a class nor module, what kind error should be raised? * is qualified_const_get an appropriate name for the function? matz.