diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-06 15:31:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-06 15:31:13 +0000 |
commit | 28827e61d153e39ad3fe1e6fecbf27c09140fe75 (patch) | |
tree | 898387ecb8856fbaa33e2345b1fa4292f7522d61 /ChangeLog | |
parent | 353833c466f30accbc96c5121d2b9487db411e2a (diff) | |
download | ruby-28827e61d153e39ad3fe1e6fecbf27c09140fe75.tar.gz |
method in instance_eval
* class.c (rb_special_singleton_class_of): utility function.
* vm_eval.c (eval_under): special deal for class variable scope with
instance_eval.
* vm_eval.c (rb_obj_instance_eval, rb_obj_instance_exec): allow method
definition in instance_eval of special constants. [ruby-core:28324]
[Bug #2788]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Tue Aug 7 00:31:09 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * class.c (rb_special_singleton_class_of): utility function. + + * vm_eval.c (eval_under): special deal for class variable scope with + instance_eval. + + * vm_eval.c (rb_obj_instance_eval, rb_obj_instance_exec): allow method + definition in instance_eval of special constants. [ruby-core:28324] + [Bug #2788] + Tue Aug 7 00:23:58 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> * variable.c (CVAR_LOOKUP): split into helper functions. |