Server IP : 66.29.132.122 / Your IP : 18.119.125.60 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/ruby18/share/ri/1.8/system/REXML/Element/ |
Upload File : |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: DEPRECATED - !ruby/struct:SM::Flow::P body: See REXML::Formatters - !ruby/struct:SM::Flow::P body: Writes out this element, and recursively, all children. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "output:" body: output an object which supports '<< string'; this is where the type: :NOTE - !ruby/struct:SM::Flow::VERB body: " document will be written.\n" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "indent:" body: An integer. If -1, no indenting will be used; otherwise, the indentation will be this number of spaces, and children will be indented an additional amount. Defaults to -1 - !ruby/struct:SM::Flow::LI label: "transitive:" body: If transitive is true and indent is >= 0, then the output will be pretty-printed in such a way that the added whitespace does not affect the parse tree of the document - !ruby/struct:SM::Flow::LI label: "ie_hack:" body: Internet Explorer is the worst piece of crap to have ever been written, with the possible exception of Windows itself. Since IE is unable to parse proper XML, we have to provide a hack to generate XML that IE's limited abilities can handle. This hack inserts a space before the /> on empty tags. Defaults to false type: :NOTE - !ruby/struct:SM::Flow::VERB body: " out = ''\n doc.write( out ) #-> doc is written to the string 'out'\n doc.write( $stdout ) #-> doc written to the console\n" full_name: REXML::Element#write is_singleton: false name: write params: (writer=$stdout, indent=-1, transitive=false, ie_hack=false) visibility: public