D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
ObjectSpace
/
Filename :
dump-i.ri
back
Copy
U:RDoc::AnyMethod[iI" dump:ETI"ObjectSpace#dump;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"0Dump the contents of a ruby object as JSON.;To:RDoc::Markup::BlankLine o; ; [I"I_output_ can be one of: +:stdout+, +:file+, +:string+, or IO object.;T@o:RDoc::Markup::List: @type:BULLET:@items[ o:RDoc::Markup::ListItem:@label0; [o; ; [I"Q+:file+ means dumping to a tempfile and returning corresponding File object;;To;;0; [o; ; [I";+:stdout+ means printing the dump and returning +nil+;;To;;0; [o; ; [I"6+:string+ means returning a string with the dump;;To;;0; [o; ; [I"Tif an instance of IO object is provided, the output goes there, and the object ;TI"is returned.;T@o; ; [ 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/lib/objspace.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(obj, output: :string);T@/FI"ObjectSpace;TcRDoc::NormalModule00