Skip to content

Commit 8db3642

Browse files
committed
Box: fix the class name in inspect
1 parent 7780d3b commit 8db3642

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

box.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -929,11 +929,11 @@ rb_box_inspect(VALUE obj)
929929
rb_box_t *box;
930930
VALUE r;
931931
if (obj == Qfalse) {
932-
r = rb_str_new_cstr("#<Namespace:root>");
932+
r = rb_str_new_cstr("#<Ruby::Box:root>");
933933
return r;
934934
}
935935
box = rb_get_box_t(obj);
936-
r = rb_str_new_cstr("#<Namespace:");
936+
r = rb_str_new_cstr("#<Ruby::Box:");
937937
rb_str_concat(r, rb_funcall(LONG2NUM(box->box_id), rb_intern("to_s"), 0));
938938
if (BOX_ROOT_P(box)) {
939939
rb_str_cat_cstr(r, ",root");

0 commit comments

Comments
 (0)