From: Marc Heiler Date: 2006-08-13T05:27:56+09:00 Subject: Re: Modules -> do I have is straight? > I sort of understand modules, according to what I have read in my fancy > ruby book and this forum modules are like superclasses. But, what about > this < ? > Doesn't this allow a class to "become" a subclass of another by way of > inheritance. Not sure I am catching the difference between the two. Yes, Single inheritance in Ruby. You'll specialize the parent class after the < You can extend your objects with modules at runtime too, foobar.extend() And you can scope to the parentclass (and their methods) by invoking super(), I think it would be easiest if you make some tiny classes, and subclass them. Then add a module and see how super is resolved As for your second question, maybe someone else can help you more. -- Posted via http://www.ruby-forum.com/.