method

doctype

v1_9_3_125 - Show latest stable - Class: REXML::Document
doctype()
public

@return the DocType child of the document, if one exists, and nil otherwise.