U:RDoc::AnyMethod[iI" dump_all:ETI"ObjectSpace::dump_all;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"0Dump the contents of the ruby heap as JSON.;To:RDoc::Markup::BlankLineo; ; [ I"7This method is only expected to work with C Ruby. ;TI">This is an experimental method and is subject to change. ;TI"AIn particular, the function signature and output format are ;TI"@not guaranteed to be compatible in future versions of ruby.;T: @fileI"!ext/objspace/objspace_dump.c;T:0@omit_headings_from_table_of_contents_below0I"!ObjectSpace.dump_all([output: :file]) # => # ObjectSpace.dump_all(output: :stdout) # => nil ObjectSpace.dump_all(output: :string) # => "{...}\n{...}\n..." ObjectSpace.dump_all(output: File.open('heap.json','w')) # => # ;T0[I"(p1 = {});T@FI"ObjectSpace;TcRDoc::NormalModule00