File: C:/Ruby27-x64/share/ri/2.7.0/system/REXML/Text/write_with_substitution-i.ri
U:RDoc::AnyMethod[iI"write_with_substitution:ETI"(REXML::Text#write_with_substitution;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"BWrites out text, substituting special characters beforehand. ;TI"E+out+ A String, IO, or any other object supporting <<( String ) ;TI"5+input+ the text to substitute and the write out;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"z=utf8.unpack("U*")
;TI"ascOut=""
;TI"z.each{|r|
;TI" if r < 0x100
;TI" ascOut.concat(r.chr)
;TI" else
;TI"- ascOut.concat(sprintf("&#x%x;", r))
;TI" end
;TI"}
;TI"puts ascOut;T:@format0:
@fileI"lib/rexml/text.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(out, input);T@FI" Text;TcRDoc::NormalClass00