Mark Wilden wrote: > On May 17, 2008, at 1:48 PM, Joel VanderWerf wrote: > >> def external >> yield unless $testing >> end >> >> external do >> class C >> end >> >> def foo >> end >> end >> >> C >> foo > > This is cool, but is it any different than > > unless $testing > class C > end > end Oh, that would too and maybe even be better, if your condition is just a boolean. I was expecting there might be more to it than that.... -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407