= private = protected
doctype()
@return the DocType child of the document, if one exists, and nil otherwise.
# File lib/rexml/document.rb, line 117 def doctype @children.find { |item| item.kind_of? DocType } end