class Hpricot::DocType
def initialize target, pub, sys
def initialize target, pub, sys self.target, self.public_id, self.system_id = target, pub, sys end
def output(out, opts = {})
def output(out, opts = {}) out << if_output(opts) do "<!DOCTYPE #{target} " + (public_id ? "PUBLIC \"#{public_id}\"" : "SYSTEM") + (system_id ? " #{html_quote(system_id)}" : "") + ">" end end
def pathname; "doctype()" end
def pathname; "doctype()" end