= private = protected
xml_decl()
@return the XMLDecl of this document; if no XMLDecl has been set, the default declaration is returned.
# File lib/rexml/document.rb, line 119 def xml_decl rv = @children[0] return rv if rv.kind_of? XMLDecl rv = @children.unshift(XMLDecl.default)[0] end