Joel VanderWerf wrote: > Use closures and class scopes: > > class Foo > tmp1 = ExpensiveObject.new > tmp2 = ExpensiveObject.new Assuming you want to share the tmp1 and tmp2 among all instances of the class, which probably you don't want. Sorry. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407