Hi,

In message "Re: [ruby-core:41408] Re: [ruby-trunk - Bug #5690][Open] Module#qualified_const_get"
    on Wed, 30 Nov 2011 16:52:36 +0900, Yehuda Katz <wycats / gmail.com> writes:

|> * is there any use-case for this method?
|
|We use it often in Rails.

Could you show us the concrete example?  It is difficult for me to
imagine.

|> * if Bar is not a class nor module, what kind error should be raised?
|>
|
|TypeError: "(กฤ) is not a class/module"

Understood.

|> * is qualified_const_get an appropriate name for the function?
|>
|
|Unknown. It's what we call it in Rails ;)

How about

  Foo.const_get("Bar::Baz")

or

  Foo.const_get(:Bar, :Baz)

?

							matz.