[DOC] Fix indentation for ObjectSpace.dump_all

This commit is contained in:
Peter Zhu 2022-12-12 09:51:12 -05:00
parent 0b4fda11ec
commit 87d5470873

View File

@ -54,7 +54,7 @@ module ObjectSpace
# #
# Dump the contents of the ruby heap as JSON. # Dump the contents of the ruby heap as JSON.
# #
#. _full__ must be a boolean. If true all heap slots are dumped including the empty ones (T_NONE). # _full__ must be a boolean. If true all heap slots are dumped including the empty ones (T_NONE).
# #
# _since_ must be a non-negative integer or +nil+. # _since_ must be a non-negative integer or +nil+.
# #
@ -78,7 +78,7 @@ module ObjectSpace
# GC.start # GC.start
# gc_generation = GC.count # gc_generation = GC.count
# shape_generation = RubyVM.stat(:next_shape_id) # shape_generation = RubyVM.stat(:next_shape_id)
#. call_method_to_instrument # call_method_to_instrument
# ObjectSpace.dump_all(since: gc_generation, shapes: shape_generation) # ObjectSpace.dump_all(since: gc_generation, shapes: shape_generation)
# #
# This method is only expected to work with C Ruby. # This method is only expected to work with C Ruby.