Class: HTML5::TreeBuilders::REXML::CommentNode
- Inherits:
-
Node
- Object
- Base::Node
- Node
- HTML5::TreeBuilders::REXML::CommentNode
- Defined in:
- lib/feed_tools/vendor/html5/lib/html5/treebuilders/rexml.rb
Instance Attribute Summary
Attributes inherited from Node
Attributes inherited from Base::Node
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Node
#appendChild, #hasContent, #initialize, #insertBefore, #insertText, #removeChild
Methods inherited from Base::Node
#appendChild, #cloneNode, #hasContent, #initialize, #insertBefore, #insertText, #removeChild, #reparentChildren
Constructor Details
This class inherits a constructor from HTML5::TreeBuilders::REXML::Node
Class Method Details
.rxclass ⇒ Object
170 171 172 |
# File 'lib/feed_tools/vendor/html5/lib/html5/treebuilders/rexml.rb', line 170 def self.rxclass ::REXML::Comment end |
Instance Method Details
#printTree(indent = 0) ⇒ Object
174 175 176 |
# File 'lib/feed_tools/vendor/html5/lib/html5/treebuilders/rexml.rb', line 174 def printTree indent=0 "\n|#{' ' * indent}<!-- #{rxobj.string} -->" end |