From: Ozgur Murat Homurlu Date: 2006-02-18T04:41:47+09:00 Subject: Re: [ ruby-Bugs-3565 ] Method object used as Object#instance_eval block doesn't work (as expected) Sorry, resending the patch because its header is previously corrupted... --- ruby.old/eval.c 2006-02-17 21:25:29.000000000 +0200 +++ ruby/eval.c 2006-02-17 21:21:14.000000000 +0200 @@ -6497,7 +6497,10 @@ * instance variables. In the version of instance_eval * that takes a +String+, the optional second and third * parameters supply a filename and starting line number that are used - * when reporting compilation errors. + * when reporting compilation errors. Note that, if a Proc that is + * converted from a Method object is given as the block, + * instance_eval will not change the context of this + * block and it will be evaluated in Method object's original context. * * class Klass * def initialize