D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
doc
/
nokogiri-1.8.1
/
ri
/
Nokogiri
/
XML
/
Node
/
Filename :
write_to-i.ri
back
Copy
U:RDoc::AnyMethod[iI" write_to:EFI"!Nokogiri::XML::Node#write_to;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"GWrite Node to +io+ with +options+. +options+ modify the output of ;TI"%this method. Valid options are:;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type:BULLET:@items[ o:RDoc::Markup::ListItem:@label0; [o; ; [I"*+:encoding+ for changing the encoding;To;;0; [o; ; [I"?+:indent_text+ the indentation text, defaults to one space;To;;0; [o; ; [I"A+:indent+ the number of +:indent_text+ to use, defaults to 2;To;;0; [o; ; [I"9+:save_with+ a combination of SaveOptions constants.;T@o; ; [I"'To save with UTF-8 indented twice:;T@o:RDoc::Markup::Verbatim; [I";node.write_to(io, :encoding => 'UTF-8', :indent => 2) ;T:@format0o; ; [I"&To save indented with two dashes:;T@o;; [I"9node.write_to(io, :indent_text => '-', :indent => 2);T;0: @fileI"lib/nokogiri/xml/node.rb;T:0@omit_headings_from_table_of_contents_below00I"config;T[ I"(io, *options);T@2FI" Node;TcRDoc::NormalClass00