From: Mike Gold Date: 2008-11-20T00:36:51+09:00 Subject: Re: how can I invoke the 'include' in the class instance function Jarod Zhu wrote: > For same reason, I want to invoke the 'include' in the class instance > function. class QQ module QQ_Elem def print_elem puts "elem" end end def test extend QQ_Elem # <----------- print_elem puts "test" end end qq = QQ.new qq.test #=> elem # test -- Posted via http://www.ruby-forum.com/.