summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/proc.c b/proc.c
index 9f2a46416d..5ee01f76b5 100644
--- a/proc.c
+++ b/proc.c
@@ -1616,6 +1616,9 @@ method_inspect(VALUE method)
}
rb_str_buf_cat2(str, sharp);
rb_str_append(str, rb_id2str(data->oid));
+ if (rb_notimplement_body_p(data->body)) {
+ rb_str_buf_cat2(str, " (not-implemented)");
+ }
rb_str_buf_cat2(str, ">");
return str;