summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-05 08:40:27 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-05 08:40:27 +0000
commitdf27d91fc4de9215d6af58de191b2c105ef88678 (patch)
treed017ac4f0a339440fb13d2473673f254ce98ec38 /class.c
parent48653d5ef0ed47469d64170d70c8c2a9f21f159e (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@9082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
-rw-r--r--class.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/class.c b/class.c
index b3cec55065..a950b44de2 100644
--- a/class.c
+++ b/class.c
@@ -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;