U:RDoc::AnyMethod[iI"new:ETI"String::new;TT: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"AReturns a new string object containing a copy of str.;To:RDoc::Markup::BlankLineo; ; [I"PThe optional enc argument specifies the encoding of the new string. ;TI"PIf not specified, the encoding of str (or ASCII-8BIT, if str ;TI"is not specified) is used.;T@o; ; [I"NThe optional size argument specifies the size of internal buffer. ;TI"MThis may improve performance, when the string will be concatenated many ;TI"#times (and call many realloc).;T: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"{String.new(str="") -> new_str String.new(str="", encoding: enc) -> new_str String.new(str="", capacity: size) -> new_str ;T0[I"(p1 = v1, p2 = {});T@FI" String;TcRDoc::NormalClassI" scanf;T0