Class: XmlUtils::ChildNode
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from Node
#deep_clone, #document, #each, #initialize, #next_sibling, #node_type, #previous_sibling, #remove, #root, #to_s
Constructor Details
This class inherits a constructor from XmlUtils::Node
Instance Method Details
#write(output, indent = 0) ⇒ Object
96 97 98 99 |
# File 'lib/xmlutils/node.rb', line 96 def write(output, indent = 0) output << ' ' * indent write_content(output, indent) end |
#write_content(output, indent) ⇒ Object
101 102 103 |
# File 'lib/xmlutils/node.rb', line 101 def write_content(output, indent) raise NotImplementedError end |