In Ruby, I see that it can be useful to put classes inside modules for the sake of namespacing. I also see that it's possible to put modules inside classes. But I don't see why you'd do that.
Modules are generally mixed into classes, right? So, what would be the purpose of defining a module inside a class?