summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index 8caabaecac..422af20c52 100644
--- a/proc.c
+++ b/proc.c
@@ -1402,7 +1402,7 @@ method_inspect(VALUE method)
}
}
rb_str_buf_cat2(str, sharp);
- rb_str_buf_cat2(str, rb_id2name(data->oid));
+ rb_str_append(str, rb_id2str(data->oid));
rb_str_buf_cat2(str, ">");
return str;