method
xmldecl
xmldecl()
private
Hide source
# File lib/rss/rss.rb, line 1290 def xmldecl rv = %[<?xml version="#{@version}"] if @output_encoding or @encoding rv << %[ encoding="#{@output_encoding or @encoding}"] end rv << %[ standalone="yes"] if @standalone rv << "?>\n" rv end