= private = protected
encoding()
@return the XMLDecl encoding of this document as an Encoding object. If no XMLDecl has been set, returns the default encoding.
# File lib/rexml/document.rb, line 137 def encoding xml_decl().encoding end