class Hpricot::DocType

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