From: Sean O'Halpin Date: 2005-04-17T07:18:58+09:00 Subject: Re: self On Sun, 2005-04-17 at 01:14 +0900, Trans wrote: > Actually I think it always has. But what doesn't is this: > > module MyNotSoSuperModule > def self.do_something > puts "success" > end > end > > class MyClass > include MyNotSoSuperModule > do_something > end Is this what you're after? module MySuperDuperModule def do_something puts "success" end end class MyClass extend MySuperDuperModule do_something end #=> success Sean