Class Nokogiri::XML::Node::SaveOptions inherits from Object
Save options for serializing nodes
Constants
- AS_HTML
Save as HTML
- AS_XHTML
Save as XHTML
- AS_XML
Save as XML
- FORMAT
Format serialized xml
- NO_DECLARATION
Do not include delcarations
- NO_EMPTY_TAGS
Do not include empty tags
- NO_XHTML
Do not save XHTML
Attributes
- options R
Integer representation of the SaveOptions
Public Class Methods
- new(options = 0;) Show Source
Create a new SaveOptions object with options
-
# File lib/nokogiri/xml/node/save_options.rb, line 26 26: def initialize options = 0; @options = options; end