D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
REXML
/
Text
/
Filename :
to_s-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the string value of this text node. This string is always escaped, meaning that it is a valid XML text node string, and all entities that can be escaped, have been inserted. This method respects the entity filter set in the constructor. - !ruby/struct:SM::Flow::VERB body: " # Assume that the entity "s" is defined to be "sean", and that the\n # entity "r" is defined to be "russell"\n t = Text.new( "< & sean russell", false, nil, false, ['s'] )\n t.to_s #-> "&lt; &amp; &s; russell"\n t = Text.new( "< & &s; russell", false, nil, false )\n t.to_s #-> "&lt; &amp; &s; russell"\n u = Text.new( "sean russell", false, nil, true )\n u.to_s #-> "sean russell"\n" full_name: REXML::Text#to_s is_singleton: false name: to_s params: () visibility: public