Hi,
In message "Re: module This::Encompassing::That"
on 03/02/18, ts <decoux / moulon.inra.fr> writes:
|Y> No. Classes and modules are not always interchangeable.
|
| I really don't see where is the problem, sorry, with
|
| module A::B::C
|
|Y> class A
|Y> end
|
| in this case this give
|
| class A
| module B
| module C
| end
| end
| end
I think too "smart" behavior delays class/module inconsistency
detection.
| personnaly my problem is more with
|
| class A::B::C < D
| end
Do you worry about which namespace D searched in? I guess it must be
top level (not A nor B).
matz.