diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-05 08:40:27 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-05 08:40:27 +0000 |
commit | 5123afe6145b5d967fcce725b3821ad97cf8fd83 (patch) | |
tree | d017ac4f0a339440fb13d2473673f254ce98ec38 /class.c | |
parent | 28f806a119f0c3acaf4b91b8b652b324282b450d (diff) | |
download | ruby-5123afe6145b5d967fcce725b3821ad97cf8fd83.tar.gz ruby-5123afe6145b5d967fcce725b3821ad97cf8fd83.tar.xz ruby-5123afe6145b5d967fcce725b3821ad97cf8fd83.zip |
* lib/observer.rb: a patch from nornagon <nornagon@gmail.com>
merged to allow arbitrary names for update methods.
[ruby-core:05416]
* eval.c (rb_f_fcall): new method to avoid inefficiency of
obj.instance_eval{send(...)} tricks.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
-rw-r--r-- | class.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -407,7 +407,8 @@ rb_include_module(klass, module) break; } } - c = RCLASS(c)->super = include_class_new(module, RCLASS(c)->super); + RCLASS(c)->super = include_class_new(module, RCLASS(c)->super); + c = RCLASS(c)->super; changed = 1; skip: module = RCLASS(module)->super; |