summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-12-12 10:15:24 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-12-12 10:15:24 -0500
commitbe710c1bf797f539707e00a1ec6bf86e6009add0 (patch)
treee36f75d37b4d82d6a718bc18dc6f2f4057c52e59 /ext
parenta9c3dc8d2ea4f2461862a999ce40cf944af97190 (diff)
[DOC] Fix format for ObjectSpace.dump_shapes
Diffstat (limited to 'ext')
-rw-r--r--ext/objspace/lib/objspace.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/objspace/lib/objspace.rb b/ext/objspace/lib/objspace.rb
index 98cb07bacd..b57c24583c 100644
--- a/ext/objspace/lib/objspace.rb
+++ b/ext/objspace/lib/objspace.rb
@@ -114,7 +114,7 @@ module ObjectSpace
# Dump the contents of the ruby shape tree as JSON.
#
# If _shapes_ is a positive integer, only shapes newer than the provided
- # shape id are dumped. The current shape_id can be accessed using +RubyVM.stat(:next_shape_id)+.
+ # shape id are dumped. The current shape_id can be accessed using <tt>RubyVM.stat(:next_shape_id)</tt>.
#
# This method is only expected to work with C Ruby.
# This is an experimental method and is subject to change.