Class | HTML5::TreeBuilders::Hpricot::DocumentType |
In: |
lib/feed_tools/vendor/html5/lib/html5/treebuilders/hpricot.rb
|
Parent: | Node |
# File lib/feed_tools/vendor/html5/lib/html5/treebuilders/hpricot.rb, line 148 148: def self.hpricot_class 149: ::Hpricot::DocType 150: end
# File lib/feed_tools/vendor/html5/lib/html5/treebuilders/hpricot.rb, line 152 152: def initialize(name, public_id, system_id) 153: begin 154: super(name) 155: rescue ArgumentError # needs 3... 156: end 157: 158: @hpricot = ::Hpricot::DocType.new(name, public_id, system_id) 159: end