summaryrefslogtreecommitdiff
path: root/compar.c
diff options
context:
space:
mode:
Diffstat (limited to 'compar.c')
-rw-r--r--compar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compar.c b/compar.c
index a38668e..81dff38 100644
--- a/compar.c
+++ b/compar.c
@@ -24,10 +24,10 @@ rb_cmperr(VALUE x, VALUE y)
classname = rb_inspect(y);
}
else {
- classname = rb_class_path(rb_obj_class(y));
+ classname = rb_obj_class(y);
}
rb_raise(rb_eArgError, "comparison of %"PRIsVALUE" with %"PRIsVALUE" failed",
- rb_class_path(rb_obj_class(x)), classname);
+ rb_obj_class(x), classname);
}
static VALUE