From: ts Date: 2001-01-31T15:01:51+09:00 Subject: [ruby-talk:10158] Re: Defining class methods in a module >>>>> "N" == Nathaniel Talbott writes: N> What I'm trying to do is define a method in a module that will be 'included' N> (and useable) at the _class_ level. What you want probably is extend pigeon% cat b.rb #!/usr/bin/ruby module A def b puts "b" end end class B extend A b end pigeon% b.rb b pigeon% by default extend make an include in the singleton class. Guy Decoux