diff options
Diffstat (limited to 'compar.c')
-rw-r--r-- | compar.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |