method

encoding

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

@return the XMLDecl encoding of this document as an Encoding object. If no XMLDecl has been set, returns the default encoding.