method

encoding

v1_9_2_180 - Show latest stable - Class: REXML::Document
encoding()
public

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