aboutsummaryrefslogtreecommitdiffstats
path: root/ext/dl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl')
-rw-r--r--ext/dl/cfunc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/dl/cfunc.c b/ext/dl/cfunc.c
index 2a96b30bed..b68129f8ed 100644
--- a/ext/dl/cfunc.c
+++ b/ext/dl/cfunc.c
@@ -285,7 +285,9 @@ rb_dlcfunc_set_ptr(VALUE self, VALUE addr)
}
/*
- * call-seq: inspect
+ * call-seq:
+ * inspect
+ * to_s
*
* Returns a string formatted with an easily readable representation of the
* internal state of the DL::CFunc