From: Stefan Kaes Date: 2005-03-16T14:23:10+09:00 Subject: Re: eval/binding question Eric Hodel wrote: > Ok, I lied. ERB::DefMethod is both not used by Rails (does something > else) but it is also unsuitable for the task. > Why did you lie??? > Anyhow, as my penance, here's my implementation, I did use def_method, > though: > > http://segment7.net/projects/ruby/snippets/erb_cache.rb > Thanks for the code, but I already knew this would also be a possible solution. But probably less efficient than using instance variables, though I have not checked that yet. Did you?