From: "Brian Schröder" Date: 2005-10-03T23:17:18+09:00 Subject: Re: Eval and block problems > > [snip] > They are not really too complicated IMHO: instance_eval is a variant of eval > that allows a string and a block and just rebinds "self" before evaluating > the string / block. class_eval is an extension of instance_eval which makes > sure that any "def"'s do not apply to the instance itself but to all > instances of the class. eval is the basic method that accepts only a string > but can work with any binding. > > Kind regards > > robert Ok, I have printed this and will put it on my wall. This should help me choosing whats right. thanks, Brian -- http://ruby.brian-schroeder.de/ Stringed instrument chords: http://chordlist.brian-schroeder.de/