From: Papp Zoltan Date: 2003-08-13T20:40:06+09:00 Subject: Module methods in nested modules with 1.8.0 Hi, I haven't found anything in the archives about this issue: How can I define a module method in a nested module definition? I can write: module A module B def B.hello() end end end Which works fine. 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? Thanks in advance, Padre