From be710c1bf797f539707e00a1ec6bf86e6009add0 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Mon, 12 Dec 2022 10:15:24 -0500 Subject: [PATCH] [DOC] Fix format for ObjectSpace.dump_shapes --- ext/objspace/lib/objspace.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 RubyVM.stat(:next_shape_id). # # This method is only expected to work with C Ruby. # This is an experimental method and is subject to change.