From: Julian 'Julik' Tarkhanov Date: 2006-06-26T06:44:11+09:00 Subject: Re: implementation of mixins? On 25-jun-2006, at 17:15, Roger Johansson wrote: > or are the mixins "proxy aware" so to say, so the "self" pointer > inside > a mixin points to the subject and not the mixin? Yes, self refers to the subject. Unless you are talking about the own methods of the module: module Foo def self.say self.something # will call Foo.something end def fire self.ignite! # will call ignite! on the object whose class has the module mixed in end end -- Julian 'Julik' Tarkhanov please send all personal mail to me at julik.nl