James Edward Gray II schrieb:
> I ran into a similar situation yesterday.  Here's my use case.
> (...)

James, thanks for your use case. Treating a class as a namespace is easy:

   module NamespaceModule
     class Parent
       class Child1 < Parent; end
       class Child2 < Parent; end
       class Child3 < Parent; end
     end
   end

   class Class
     def as_namespace
       mod = Module.new
       constants.each do |c|
         mod.const_set(c, const_get(c))
       end
       mod
     end
   end

   include NamespaceModule::Parent.as_namespace

   p NamespaceModule::Parent::Child1.object_id  # => 22497790
   p Child1.object_id                           # => 22497790

I think Ola needs something else, though.

Regards,
Pit