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