method
content
v1_8_6_287 -
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/i
rv << " standalone='#@standalone'" if @standalone
rv
end