diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-03 06:48:06 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-03 06:48:06 +0000 |
commit | 91a079cc86b01699d11481bdd8f9636df334a404 (patch) | |
tree | 1bd507ac5bcb0c59f0ef86ce8a8cc53e583fcaae /sample/test.rb | |
parent | ee2ac58e4de6a63cc83bbef13b6a25718f5b8f0f (diff) | |
download | ruby-91a079cc86b01699d11481bdd8f9636df334a404.tar.gz |
* variable.c (rb_cvar_set): check whether class variable is
defined in superclasses. root classes have higher priority.
removes lower class variable entry from IV_TBL (if it's defined
in classes, not modules).
* variable.c (rb_cvar_get): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/test.rb')
0 files changed, 0 insertions, 0 deletions