X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/REXML/Text
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
REXML
/
Text
/
📄
%3c%3c-i.yaml
(309 B)
📄
%3c%3d%3e-i.yaml
(299 B)
ðŸ“
..
📄
cdesc-Text.yaml
(2.45 KB)
📄
clone-i.yaml
(169 B)
📄
empty%3f-i.yaml
(171 B)
📄
expand-c.yaml
(191 B)
📄
indent_text-i.yaml
(230 B)
📄
inspect-i.yaml
(173 B)
📄
new-c.yaml
(2.66 KB)
📄
node_type-i.yaml
(177 B)
📄
normalize-c.yaml
(282 B)
📄
read_with_substitution-c.yaml
(293 B)
📄
to_s-i.yaml
(1.01 KB)
📄
unnormalize-c.yaml
(295 B)
📄
value%3d-i.yaml
(586 B)
📄
value-i.yaml
(981 B)
📄
wrap-i.yaml
(198 B)
📄
write-i.yaml
(337 B)
📄
write_with_substitution-i.yaml
(703 B)
📄
xpath-i.yaml
(245 B)
Editing: write_with_substitution-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Writes out text, substituting special characters beforehand. <tt>out</tt> A String, IO, or any other object supporting <<( String ) <tt>input</tt> the text to substitute and the write out - !ruby/struct:SM::Flow::VERB body: " z=utf8.unpack("U*")\n ascOut=""\n z.each{|r|\n if r < 0x100\n ascOut.concat(r.chr)\n else\n ascOut.concat(sprintf("&#x%x;", r))\n end\n }\n puts ascOut\n" full_name: REXML::Text#write_with_substitution is_singleton: false name: write_with_substitution params: (out, input) visibility: public
Upload File
Create Folder