Current Path : /usr/local/share/ri/1.8/system/REXML/Text/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/REXML/Text/to_s-i.yaml |
--- !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