Is there any way to include a “top level” module in a nested module of
the same name? Eg:
#v+
module TTT
module Observable
include Observable
end
end
puts TTT::Observable.included_modules
#v-
return nothing.
But if I rename TTT::Observable the above code returns “Observable”.
···
–
Marek Janukowicz