diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-07 02:53:24 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-07 02:53:24 +0000 |
| commit | 942e81bd0d43d10c124fca071f61633f8e6280d2 (patch) | |
| tree | 7821aa3eeaae0a0588c1e2e63006d083d06e9c3f /object.c | |
| parent | 1139e28a4a9b275a320c6650cad6b221c6006cc3 (diff) | |
| download | ruby-942e81bd0d43d10c124fca071f61633f8e6280d2.tar.gz ruby-942e81bd0d43d10c124fca071f61633f8e6280d2.tar.xz ruby-942e81bd0d43d10c124fca071f61633f8e6280d2.zip | |
* object.c (rb_mod_initialize): since module_eval no longer passes
self, use module_exec instead. fixed: [ruby-dev:29637]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
| -rw-r--r-- | object.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1205,7 +1205,7 @@ static VALUE rb_mod_initialize(VALUE module) { if (rb_block_given_p()) { - rb_mod_module_eval(0, 0, module); + rb_mod_module_exec(1, &module, module); } return Qnil; } |
