method

doctype

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

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