ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ???????????????????????????????????? ???????????????????????????????????? ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ???????????????????????????????????? ???????????????????????????????????? U:RDoc::AnyMethod[iI"new:ETI"String::new;TT: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"6Returns a new \String that is a copy of +string+.;To:RDoc::Markup::BlankLineo; ; [I"WWith no arguments, returns the empty string with the Encoding ASCII-8BIT:;T@o:RDoc::Markup::Verbatim; [I"s = String.new ;TI"s # => "" ;TI",s.encoding # => # ;T: @format0o; ; [I"?With optional argument +string+ and no keyword arguments, ;TI"7returns a copy of +string+ with the same encoding:;T@o; ; [I"0String.new('foo') # => "foo" ;TI"9String.new('тест') # => "тест" ;TI"CString.new('こんにちは') # => "こんにちは" ;T; 0o; ; [ I"(Unlike \String.new, ;TI"]a {string literal}[rdoc-ref:syntax/literals.rdoc@String+Literals] like '' or a ;TI"S{here document literal}[rdoc-ref:syntax/literals.rdoc@Here+Document+Literals] ;TI"Lalways has {script encoding}[rdoc-ref:encodings.rdoc@Script+Encoding].);T@o; ; [ I"KWith optional keyword argument +encoding+, returns a copy of +string+ ;TI""with the specified encoding; ;TI"Athe +encoding+ may be an Encoding object, an encoding name, ;TI"or an encoding name alias:;T@o; ; [I"XString.new('foo', encoding: Encoding::US_ASCII).encoding # => # ;TI"XString.new('foo', encoding: 'US-ASCII').encoding # => # ;TI"XString.new('foo', encoding: 'ASCII').encoding # => # ;T; 0o; ; [I"DThe given encoding need not be valid for the string's content, ;TI"&and that validity is not checked:;T@o; ; [I":s = String.new('こんにちは', encoding: 'ascii') ;TI""s.valid_encoding? # => false ;T; 0o; ; [I"0But the given +encoding+ itself is checked:;T@o; ; [I"@String.new('foo', encoding: 'bar') # Raises ArgumentError. ;T; 0o; ; [ I"KWith optional keyword argument +capacity+, returns a copy of +string+ ;TI"5(or an empty string, if +string+ is not given); ;TI",the given +capacity+ is advisory only, ;TI"=and may or may not set the size of the internal buffer, ;TI"*which may in turn affect performance:;T@o; ; [I"String.new(capacity: 1) ;TI"'String.new('foo', capacity: 4096) ;T; 0o; ; [I"LNote that Ruby strings are null-terminated internally, so the internal ;TI"Nbuffer size will be one or more bytes larger than the requested capacity ;TI"depending on the encoding.;T@o; ; [I"QThe +string+, +encoding+, and +capacity+ arguments may all be used together:;T@o; ; [I"9String.new('hello', encoding: 'UTF-8', capacity: 25);T; 0: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"3String.new(string = '', **opts) -> new_string ;T0[I"(p1 = v1, p2 = {});T@UFI" String;TcRDoc::NormalClass00