Methods

Class/Module Index [+]

Quicksearch

HTML5::TreeBuilders::Hpricot::TextNode

Public Class Methods

new(data) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/treebuilders/hpricot.rb, line 181
def initialize(data)
  @hpricot = ::Hpricot::Text.new(data)
end

Public Instance Methods

printTree(indent=0) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/treebuilders/hpricot.rb, line 185
def printTree(indent=0)
  "\n|#{' ' * indent}\"#{hpricot.content}\""
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.