method

version

ruby latest stable - Class: REXML::Document
version()
public

@return the XMLDecl version of this document as a String. If no XMLDecl has been set, returns the default version.