James Edward Gray II wrote:

>  >> cls = consts.inject(Object) { |last, cur| last.const_get(cur) }
> => SomeModule::SomeClass

Thanks! That'll work great, especially since the SomeModule:: part is
constant, so I can just do SomeModule.const_get(name).

Thank you very much.