ext/looksee/looksee.c in looksee-0.0.1 vs ext/looksee/looksee.c in looksee-0.0.2

- old
+ new

@@ -34,10 +34,10 @@ * * This is either the object's singleton class, if it exists, or the * object's birth class. */ VALUE Looksee_internal_class(VALUE self, VALUE object) { - return RBASIC(object)->klass; + return CLASS_OF(object); } /* * Return the class or module that the given internal class * represents.