diff options
-rw-r--r-- | variable.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/variable.c b/variable.c index 6d03843f61..e5642beca2 100644 --- a/variable.c +++ b/variable.c @@ -177,8 +177,7 @@ rb_class_path(VALUE klass) VALUE rb_class_path_cached(VALUE klass) { - int permanent; - return classname(klass, &permanent); + return rb_mod_name(klass); } static VALUE |