class Rouge::TextAnalyzer

def doctype?(type=//)

Check if the doctype matches a given regexp or string
def doctype?(type=//)
  type === doctype
end