Ruby Talk
5/20/2007 4:08:00 AM
Calling a block in a new scope is easy enough:
self.instance_eval &block
And calling a block, passing it parameters is easy enough:
block.call(*params)
But is there some way to do both? To both change the scope of evaluation
and pass variables into the block.