From: Xavier Noria Date: 2006-10-21T20:11:43+09:00 Subject: Re: instance_eval && class_eval On Oct 21, 2006, at 12:55 PM, Artur Merke wrote: define_method defines an instance method both in the instance_eval and class_eval sections of your code. To be able to call D.method method needs to be a class instance method of D (i.e. a method of the singleton class of D herself). -- fxn