HTML5::TreeBuilders::Hpricot::Node
# File lib/feed_tools/vendor/html5/lib/html5/treebuilders/hpricot.rb, line 148 def self.hpricot_class ::Hpricot::DocType end
# File lib/feed_tools/vendor/html5/lib/html5/treebuilders/hpricot.rb, line 152 def initialize(name, public_id, system_id) begin super(name) rescue ArgumentError # needs 3... end @hpricot = ::Hpricot::DocType.new(name, public_id, system_id) end
# File lib/feed_tools/vendor/html5/lib/html5/treebuilders/hpricot.rb, line 161 def printTree(indent=0) if hpricot.target and hpricot.target.any? "\n|#{' ' * indent}<!DOCTYPE #{hpricot.target}>" else "\n|#{' ' * indent}<!DOCTYPE >" end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.