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