David A. Black said:
>
> A more concise and eval-free way to do that is:
>
>    class Module
>      def deep_const_get(str)
>        str.split("::").inject(Object) {|a,b| a.const_get(b) }
>      end
>    end
>
> "Traditional", as they say for folk songs :-)  I've written it and
> others have too -- I don't know who first.

Definitely traditional, I've seen it many times in the last few months
while reading this list.

The question is, why can't the default implementation of const_get just do
this out of the box???

Ryan