Hi,

At Sat, 12 Feb 2005 13:16:23 +0900,
E S wrote in [ruby-talk:130578]:
> >   my_new_unit = types["Panzer"].new.extend(Unit) # As later
> 
> I thought #extend only works for instance methods, not variables? 

extend_object module method will be called.

  module Unit
    def self.extend_object(obj)
      super
      obj._unit_initialize
    end
  end

-- 
Nobu Nakada