Use rb_inspect.