method
content
v2_2_9 -
Show latest stable
- Class:
REXML::XMLDecl
content(enc)private
No documentation available.
# File lib/rexml/xmldecl.rb, line 108
def content(enc)
rv = "version='#@version'"
rv << " encoding='#{enc}'" if @writeencoding || enc !~ /\Autf-8\z/
rv << " standalone='#@standalone'" if @standalone
rv
end