write(writer, indent=-1, transitive=false, ie_hack=false)
public
indent |
Ignored. There must be no whitespace before an XML
declaration
|
transitive |
Ignored
|
ie_hack |
Ignored
|
# File lib/rexml/xmldecl.rb, line 47
def write(writer, indent=-1, transitive=false, ie_hack=false)
return nil unless @writethis or writer.kind_of? Output
writer << START.sub(/\\/, '')
writer << " #{content encoding}"
writer << STOP.sub(/\\/, '')
end