From: Yukihiro Matsumoto Date: 2006-02-09T08:00:51+09:00 Subject: Re: how to do instance_eval with arguments Hi, In message "Re: how to do instance_eval with arguments" on Thu, 9 Feb 2006 07:33:53 +0900, Jim Weirich writes: | |I'm prototyping a DSL and came across a situtation where I have a lambda |that I would like to give to instance_eval, but the lambda takes |arguments. Instance_eval will not supply any arguments when evaluating |the lambda and I don't see a straightforward way around this. | |Any suggestions? CVS HEAD (1.9) has instance_exec method that works exactly what you want. matz.