> Two purpose; to provide merely a namespace, and to implement mix-in. > > Module is a superclass of Class. And modules cannot: > > * be inherited > * instantiate an object > > But they can be included from other classes/modules, where classes > cannot be included. > FYI, module inclusion is the only way to implement multiple > inheritance in Ruby. And perhaps to "simulate" the inner classes feature of Java? Jilani -- jilani __________________________________________________ http://space.tin.it/scuola/jkhaldi