diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-18 12:18:27 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-18 12:18:27 +0000 |
commit | 719f5c99a2556ab8df968a37438eacde3be328f1 (patch) | |
tree | ea7b93a024cd528edf5567ac54f6d665a24ef2ba /eval.c | |
parent | 2d99edcc7dd532c9a360f35b16e5f5eb5eb4bdc1 (diff) | |
download | ruby-719f5c99a2556ab8df968a37438eacde3be328f1.tar.gz ruby-719f5c99a2556ab8df968a37438eacde3be328f1.tar.xz ruby-719f5c99a2556ab8df968a37438eacde3be328f1.zip |
* eval.c (rb_obj_instance_eval): RDoc description updated. a
patch from Ozgur Murat Homurlu <ozgurmurath at gmail.com>.
[ruby-core:07381]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -6497,7 +6497,10 @@ specific_eval(int argc, VALUE *argv, VALUE klass, VALUE self) * instance variables. In the version of <code>instance_eval</code> * 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, + * <code>instance_eval</code> will not change the context of this + * block and it will be evaluated in Method object's original context. * * class Klass * def initialize |