Class/Module Index [+]

Quicksearch

HTML5::TreeBuilders::Hpricot::Document

Public Class Methods

hpricot_class() click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/treebuilders/hpricot.rb, line 132
def self.hpricot_class
  ::Hpricot::Doc
end
new() click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/treebuilders/hpricot.rb, line 136
def initialize
  super(nil)
end

Public Instance Methods

printTree(indent=0) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/treebuilders/hpricot.rb, line 140
def printTree(indent=0)
  childNodes.inject('#document') { |tree, child| tree + child.printTree(indent + 2) }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.