From: "Mikael Høilund" Date: 2008-11-20T00:23:10+09:00 Subject: Re: how can I invoke the 'include' in the class instance function On Nov 19, 2008, at 15:56, Jarod Zhu wrote: > But I got the error like this: > in `test': undefined method `include' for # > (NoMethodError) Call it on the class instead, as in `self.class.include QQ_Elem`. However, since it's only supposed to be called from within the class itself (not an instance of the class), it's marked as private. To circumvent this, call `self.class.send :include, QQ_Elem`. -- Name = "Mikael Høilund"; Email = Name.gsub %r/\s/,%#=?,# *a=e=?=,!????,:??,?,,Email.downcase![eval(%["\\%o\\%o"]% [?**2+?o,?\\*2])]="o";Email.gsub! %%\%c%*3%a, %?%c? % ?@ def The(s)%%\%s.%%s+%.org\n.end; :Go and print The Email