From: Mark Hubbart Date: 2005-09-29T04:25:33+09:00 Subject: Re: Python to Ruby: Two puzzlements... On 9/28/05, Caleb Tennis wrote: > > It's defined in Class: > > >> Class.methods.grep /ext/ > > > > => ["extend"] > > Actually, I think it's defined in Kernel. Object mixes in the Kernel module. > Then Module is a subclass of Object. (And Class is a subclass of Module - > hence why it shows up there). The proof is in the #inspect: Class.method :extend ==># Class.instance_method :extend ==># Kernel.instance_method :extend ==># cheers, Mark