diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-18 03:05:11 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-18 03:05:11 +0000 |
commit | 19f386674eb5cfbf9c8fd6041114829f37888d17 (patch) | |
tree | 766bda2001fc604141fbe7c8b51417d6c0e8fc2f /object.c | |
parent | 3b59f6c56278b1314f5b01a192ed03966aa3d0db (diff) | |
download | ruby-19f386674eb5cfbf9c8fd6041114829f37888d17.tar.gz |
* include/ruby/backward/classext.h: for evil gems. fixed #4803
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1668,6 +1668,12 @@ rb_class_superclass(VALUE klass) return super; } +VALUE +rb_class_get_superclass(VALUE klass) +{ + return RCLASS_SUPER(klass); +} + /* * call-seq: * attr_reader(symbol, ...) -> nil |