Kostas Lps wrote:
> Hi guys,
> thank you both for your answers! So the only way to do this is with
> modules i guess....
> You both helped me clear the black clouds inside my mind! :)
> 
> Something else. A mixin and a module is the same thing??

A mixin is a module, but a module isn't necessarily a mixin.  On the one 
hand, a module can be written as a general purpose mixin for various 
classes.  On the other hand, a module can be used as a namespace to 
prevent name clashes with other methods.




-- 
Posted via http://www.ruby-forum.com/.