On Wednesday, August 13, 2003, 9:40:06 PM, Papp wrote:

> But I can't write this:

> module A
> end
> module A::B
>   def B.hello()
>   end
> end

> Because Ruby tells me:
> uninitialized constant A::B::B (NameError)

> So, how do I define my hello now?


I predict this will work:

  module A; end

  module A::B
    def A::B.hello()
    end
  end