Class: EimXML::XHTML::Formatter
- Defined in:
- lib/eim_xml/xhtml.rb
Instance Attribute Summary
Attributes inherited from Formatter
Class Method Summary collapse
Methods inherited from Formatter
#indent, #initialize, #preserve_space_element?, #write, #write_comment, #write_contents_of, #write_element, #write_indent, #write_newline, #write_pcstring, #write_string, #write_wrapper
Constructor Details
This class inherits a constructor from EimXML::Formatter
Class Method Details
.write(element, opt = {}) ⇒ Object
152 153 154 |
# File 'lib/eim_xml/xhtml.rb', line 152 def self.write(element, opt = {}) EimXML::Formatter.write(element, **opt.merge(preservers: PRESERVE_SPACES)) end |