From: ts Date: 2004-08-14T22:41:23+09:00 Subject: Re: Opinion on ClassInherit Include >>>>> "T" == T Onoma writes: T> So I want to include a module and have methods become part of the class, not T> the instance. What do others think of this approach? svg% cat b.rb #!/usr/bin/ruby module MyMod attr_accessor :x def hix puts "Hi, #{@x}." end end class A extend MyMod end A.x = 'you' A.hix #=> Hi, you. svg% svg% b.rb Hi, you. svg% Guy Decoux