From: Thomas Hurst Date: 2002-04-12T23:27:24+09:00 Subject: Re: How to Make a Method Ineffective Efficiently? * Nikodemus Siivola (tsiivola@cc.niksula.hut.fi) wrote: > def debug; end The problem with this is the strings are being generated before the method call; you can make debug() as light as you like, but they're still going to be interpolated. Someone else mentioned using blocks; that seems a decent solution. A Ruby preprocessor, now, that would be interesting.. you could add advice/AOP stuff ala AspectJ, maybe build tables of data etc. -- Thomas 'Freaky' Hurst - freaky@aagh.net - http://www.aagh.net/ - Parts that positively cannot be assembled in improper order will be.