[DOC] Fix indentation for ObjectSpace.dump_all
This commit is contained in:
parent
0b4fda11ec
commit
87d5470873
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user