instance_exec is basically a instance_eval that allows you to pass parameters to the block. It’s available in stock Ruby 1.9 but Mauricio Fernandez has written a version for 1.8.
instance_exec
instance_eval
This page was last updated 2007-04-29.
It is tagged with:
Contact me!