summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/object.c b/object.c
index 62edcb6c47..e6de509d47 100644
--- a/object.c
+++ b/object.c
@@ -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