From: Robert Klemme Date: 2007-08-31T15:05:14+09:00 Subject: Re: Any way to evaluate blocks using an arbitrary Binding? On 31.08.2007 00:58, Kenneth McDonald wrote: > Using Kernel.eval, I can evaluate a Ruby string under an arbitrary > variable Binding object. However, while I can obtain from a Proc the > Binding it uses when it is evaluated, there does not seem to be any way > of evaluating a Proc with a different Binding. Is this possible in some > way? Sort of: you can use instance_eval and class_eval with a block. While only "self" will be rebound this is sufficient in many cases. Kind regards robert