From: ts Date: 2002-05-04T23:16:40+09:00 Subject: Re: Class methods defined in a module, how-to ? >>>>> "J" == Jean-Hugues ROBERT writes: J> Thanks. However I would like to *include* the module, not extending it. See [ruby-talk:39574], normally the method #biv can be written def biv(attributes) attributes.each do |k, v| type.send(:attr_accessor, k) send(k.to_s + "=", v) end end I've just used a complex scheme to give you an example how to add class methods and instance methods with a module Guy Decoux