method
content
content(enc)
private
Hide source
# 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