D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
JSON
/
Ext
/
Generator
/
State
/
Filename :
initialize-i.ri
back
Copy
U:RDoc::AnyMethod[iI"new:ETI"+JSON::Ext::Generator::State#initialize;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I";Instantiates a new State object, configured by _opts_.;To:RDoc::Markup::BlankLine o; ; [I"(_opts_ can have the following keys:;T@o:RDoc::Markup::List: @type:BULLET:@items[ o:RDoc::Markup::ListItem:@label0; [o; ; [I"<*indent*: a string used to indent levels (default: ''),;To;;0; [o; ; [I"K*space*: a string that is put after, a : or , delimiter (default: ''),;To;;0; [o; ; [I"R*space_before*: a string that is put before a : pair delimiter (default: ''),;To;;0; [o; ; [I"Q*object_nl*: a string that is put at the end of a JSON object (default: ''),;To;;0; [o; ; [I"O*array_nl*: a string that is put at the end of a JSON array (default: ''),;To;;0; [o; ; [I"A*allow_nan*: true if NaN, Infinity, and -Infinity should be ;TI"Fgenerated, otherwise an exception is thrown, if these values are ;TI"1encountered. This options defaults to false.;To;;0; [o; ; [I"K*ascii_only*: true if only ASCII characters should be generated. This ;TI"option defaults to false.;To;;0; [o; ; [I"I*buffer_initial_length*: sets the initial length of the generator's ;TI"internal buffer.;T: @fileI"-ext/json/lib/json/ext/generator/state.rb;T:0@omit_headings_from_table_of_contents_below0I"new(opts = {}) ;T0[[I"initialize;To;; [ ;I"#ext/json/generator/generator.c;T;0I"(opts = nil);T@@FI" State;TcRDoc::NormalClass00